strolch/pom.xml

612 lines
16 KiB
XML
Raw Normal View History

2014-09-20 00:18:41 +02:00
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2014-09-19 19:06:11 +02:00
<modelVersion>4.0.0</modelVersion>
<groupId>li.strolch</groupId>
<artifactId>li.strolch</artifactId>
<version>1.6.0-SNAPSHOT</version>
2016-06-24 17:46:30 +02:00
2016-06-24 18:00:44 +02:00
<name>li.strolch</name>
<description>Module build for strolch</description>
<packaging>pom</packaging>
2016-06-24 17:46:30 +02:00
<url>http://www.strolch.li</url>
<inceptionYear>2014</inceptionYear>
2016-06-24 18:00:44 +02:00
<issueManagement>
<system>Github Issues</system>
<url>https://github.com/4treesCH/strolch/issues</url>
2016-06-24 18:00:44 +02:00
</issueManagement>
2016-06-24 17:46:30 +02:00
<scm>
<connection>scm:git:https://github.com/4treesCH/strolch.git</connection>
<developerConnection>scm:git:https://github.com/4treesCH/strolch.git</developerConnection>
<url>https://github.com/4treesCH/strolch</url>
2016-06-24 17:46:30 +02:00
</scm>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<organization>
<name>Strolch</name>
2016-06-24 17:46:30 +02:00
<url>http://www.strolch.li</url>
</organization>
<developers>
<developer>
<id>eitch</id>
<name>Robert von Burg</name>
<email>eitch@eitchnet.ch</email>
<url>http://www.eitchnet.ch</url>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>msmock</id>
<name>Martin Smock</name>
<email>martin.smock@bluewin.ch</email>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>retob</id>
<name>Reto Breitenmoser</name>
<email>reto.breitenmoser@4trees.ch</email>
2016-06-24 17:46:30 +02:00
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
<buildTimestamp>${maven.build.timestamp}</buildTimestamp>
<jersey.version>2.25.1</jersey.version>
<warFinalName>NOT_SET</warFinalName>
<tomcat7Url>NOT_SET</tomcat7Url>
<tomcat7ServerId>NOT_SET</tomcat7ServerId>
<gpg.keyname>NOT_SET</gpg.keyname>
</properties>
2016-06-24 17:46:30 +02:00
<modules>
<module>li.strolch.privilege</module>
<module>li.strolch.utils</module>
<module>li.strolch.xmlpers</module>
<module>li.strolch.bom</module>
<module>li.strolch.model</module>
<module>li.strolch.testbase</module>
<!-- Deactivate XML Persistence and see later if we want to add it back <module>li.strolch.persistence.xml</module> -->
2016-06-24 17:46:30 +02:00
<module>li.strolch.persistence.postgresql</module>
<module>li.strolch.agent</module>
<module>li.strolch.service</module>
<module>li.strolch.rest</module>
<!-- test and demo project -->
2016-06-24 17:46:30 +02:00
<module>li.strolch.tutorialapp</module>
<module>li.strolch.tutorialwebapp</module>
<module>li.strolch.planningwebapp</module>
2016-07-05 09:50:54 +02:00
<module>li.strolch.website</module>
2016-06-24 17:46:30 +02:00
<module>strolch_minimal</module>
<module>strolch_minimal_rest</module>
<!-- keep a module as last which is deployable to central -->
<module>li.strolch.performancetest</module>
2016-06-24 17:46:30 +02:00
</modules>
<dependencies>
<!-- Base -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<!-- Test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
</dependency>
</dependencies>
2016-06-24 17:46:30 +02:00
<dependencyManagement>
<dependencies>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>li.strolch.model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>li.strolch.agent</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>li.strolch.service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>li.strolch.persistence.xml</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>li.strolch.persistence.postgresql</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>li.strolch.rest</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
2016-06-24 18:02:47 +02:00
<artifactId>li.strolch.utils</artifactId>
2016-06-24 17:46:30 +02:00
<version>${project.version}</version>
</dependency>
<dependency>
2016-06-24 18:02:47 +02:00
<groupId>li.strolch</groupId>
<artifactId>li.strolch.xmlpers</artifactId>
<version>${project.version}</version>
2016-06-24 17:46:30 +02:00
</dependency>
<dependency>
2016-06-24 18:02:47 +02:00
<groupId>li.strolch</groupId>
<artifactId>li.strolch.privilege</artifactId>
<version>${project.version}</version>
2016-06-24 17:46:30 +02:00
</dependency>
2016-06-24 18:02:47 +02:00
<!-- test -->
2016-06-24 17:46:30 +02:00
<dependency>
2016-06-24 18:02:47 +02:00
<groupId>li.strolch</groupId>
<artifactId>li.strolch.testbase</artifactId>
<version>${project.version}</version>
<scope>test</scope>
2016-06-24 17:46:30 +02:00
</dependency>
2016-06-24 18:00:44 +02:00
<!-- Miscellaneous -->
2016-06-24 17:46:30 +02:00
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
2016-06-24 17:46:30 +02:00
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.4</version>
2016-06-24 17:46:30 +02:00
</dependency>
<dependency>
<groupId>com.github.petitparser.java-petitparser</groupId>
<artifactId>petitparser-core</artifactId>
<version>2.0.3</version>
2016-06-24 17:46:30 +02:00
</dependency>
2016-06-24 18:00:44 +02:00
<!-- Database -->
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>2.6.1</version>
2016-06-24 18:00:44 +02:00
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.1.1</version>
2016-06-24 18:00:44 +02:00
</dependency>
2016-06-24 17:46:30 +02:00
<!-- JSON -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.0</version>
2016-06-24 17:46:30 +02:00
</dependency>
<!-- Mail -->
<dependency>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<version>1.5.6</version>
2016-06-24 17:46:30 +02:00
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.5.6</version>
</dependency>
2016-06-24 17:46:30 +02:00
<!-- Web -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
2016-06-24 17:46:30 +02:00
<scope>provided</scope>
</dependency>
2016-06-24 18:00:44 +02:00
<dependency>
<groupId>org.glassfish.jersey</groupId>
<artifactId>jersey-bom</artifactId>
<version>${jersey.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
2016-06-24 17:46:30 +02:00
<!-- test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
2016-06-24 17:46:30 +02:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
2016-06-24 17:46:30 +02:00
</dependency>
</dependencies>
</dependencyManagement>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
2016-06-24 17:46:30 +02:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.9.4</version>
<configuration>
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<compilerArgument>-Xlint:all</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
<configuration>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.10</version>
<configuration>
<downloadJavadocs>true</downloadJavadocs>
<downloadSources>true</downloadSources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
2016-06-24 17:46:30 +02:00
</goals>
</execution>
</executions>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
2016-06-24 17:46:30 +02:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
</plugin>
2016-06-24 17:46:30 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<!-- When creating an executable jar, use copy-dependencies plugin with libs in lib/ dir: -->
<!-- mainClass>li.strolch.main.Main</mainClass -->
<!-- addClasspath>true</addClasspath -->
<!-- classpathPrefix>lib/</classpathPrefix -->
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<warName>${warFinalName}</warName>
</configuration>
</plugin>
<plugin>
<!-- Publish to Tomcat7: mvn tomcat7:redeploy -->
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<url>${tomcat7Url}</url>
<server>${tomcat7ServerId}</server>
<path>/${warFinalName}</path>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>false</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.5</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<!-- mainClass>li.strolch.main.Main</mainClass -->
</manifest>
</archive>
<!-- <descriptorRefs> -->
<!-- <descriptorRef>jar-with-dependencies</descriptorRef> -->
<!-- </descriptorRefs> -->
</configuration>
<!-- <executions> -->
<!-- <execution> -->
<!-- <id>jar-with-dependencies</id> -->
<!-- <phase>package</phase> -->
<!-- <goals> -->
<!-- <goal>single</goal> -->
<!-- </goals> -->
<!-- </execution> -->
<!-- </executions> -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>oss.sonatype.org</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
</configuration>
<executions>
<execution>
<id>deploy-to-sonatype</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
<goal>release</goal>
</goals>
</execution>
</executions>
</plugin>
2016-06-24 17:46:30 +02:00
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
</plugin>
2017-05-03 16:25:21 +02:00
<!--
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>1.4.5</version>
<executions>
2017-05-03 16:25:21 +02:00
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
2017-05-03 16:25:21 +02:00
</plugin>
-->
</plugins>
2016-06-24 17:46:30 +02:00
</build>
<repositories>
<repository>
<id>jitpack.io</id>
<name>snapshots</name>
<url>https://jitpack.io</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>oss.sonatype.org</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>oss.sonatype.org</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>deploy</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
2014-09-19 19:06:11 +02:00
</project>