2014-09-20 00:31:04 +02:00
|
|
|
<?xml version="1.0"?>
|
2015-03-02 13:43:45 +01:00
|
|
|
<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">
|
2013-10-23 19:56:05 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2014-09-19 19:23:49 +02:00
|
|
|
<parent>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>li.strolch</artifactId>
|
2015-03-02 14:29:34 +01:00
|
|
|
<version>1.1.0-SNAPSHOT</version>
|
2014-09-19 19:23:49 +02:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
2013-10-23 19:56:05 +02:00
|
|
|
<artifactId>li.strolch.parent</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
2013-12-24 02:43:37 +01:00
|
|
|
<name>li.strolch.parent</name>
|
2013-10-23 19:56:05 +02:00
|
|
|
<description>Parent for all li.strolch projects for easier project maintenance</description>
|
|
|
|
<inceptionYear>2013</inceptionYear>
|
|
|
|
|
|
|
|
<!-- POM Reference: http://maven.apache.org/pom.html#Licenses -->
|
|
|
|
|
2014-09-19 18:31:55 +02:00
|
|
|
<scm>
|
|
|
|
<connection>scm:git:https://github.com/eitchnet/strolch.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:eitch/strolch.git</developerConnection>
|
|
|
|
<url>https://github.com/eitchnet/strolch</url>
|
|
|
|
</scm>
|
|
|
|
|
2013-10-23 19:56:05 +02:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License 2.0</name>
|
2013-12-15 13:10:08 +01:00
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
2013-10-23 19:56:05 +02:00
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<organization>
|
|
|
|
<name>eitchnet.ch</name>
|
2014-03-14 14:36:45 +01:00
|
|
|
<url>http://www.strolch.li</url>
|
2013-10-23 19:56:05 +02:00
|
|
|
</organization>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>eitch</id>
|
2015-01-22 18:04:33 +01:00
|
|
|
<name>Robert von Burg</name>
|
2013-10-23 19:56:05 +02:00
|
|
|
<email>eitch@eitchnet.ch</email>
|
2014-03-14 14:36:45 +01:00
|
|
|
<url>http://www.eitchnet.ch</url>
|
2013-10-23 19:56:05 +02:00
|
|
|
<organization>eitchnet.ch</organization>
|
2014-03-14 14:36:45 +01:00
|
|
|
<organizationUrl>http://www.eitchnet.ch</organizationUrl>
|
2013-10-23 19:56:05 +02:00
|
|
|
<roles>
|
|
|
|
<role>architect</role>
|
|
|
|
<role>developer</role>
|
|
|
|
</roles>
|
|
|
|
<timezone>+1</timezone>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>li.strolch.model</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2013-10-24 21:46:19 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
2014-03-21 22:52:31 +01:00
|
|
|
<artifactId>li.strolch.agent</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>li.strolch.service</artifactId>
|
2013-10-24 21:46:19 +02:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2013-10-23 19:56:05 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
2013-10-25 07:39:12 +02:00
|
|
|
<artifactId>li.strolch.persistence.xml</artifactId>
|
2013-10-23 19:56:05 +02:00
|
|
|
<version>${project.version}</version>
|
2014-03-03 23:33:21 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>li.strolch.persistence.postgresql</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2013-10-23 19:56:05 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
2014-03-21 22:52:31 +01:00
|
|
|
<artifactId>li.strolch.rest</artifactId>
|
2013-10-25 07:39:12 +02:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2014-08-24 17:22:42 +02:00
|
|
|
|
|
|
|
<!-- test -->
|
2014-03-21 22:52:31 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>li.strolch.testbase</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-10-23 19:56:05 +02:00
|
|
|
|
2014-08-24 17:22:42 +02:00
|
|
|
<!-- eitchnet -->
|
2013-10-23 19:56:05 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.eitchnet</groupId>
|
|
|
|
<artifactId>ch.eitchnet.utils</artifactId>
|
2014-09-19 19:23:49 +02:00
|
|
|
<version>${eitchnet.utils.version}</version>
|
2013-10-23 19:56:05 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.eitchnet</groupId>
|
|
|
|
<artifactId>ch.eitchnet.xmlpers</artifactId>
|
2014-09-19 19:23:49 +02:00
|
|
|
<version>${eitchnet.xmlpers.version}</version>
|
2013-10-23 19:56:05 +02:00
|
|
|
</dependency>
|
2013-10-23 20:28:52 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.eitchnet</groupId>
|
|
|
|
<artifactId>ch.eitchnet.privilege</artifactId>
|
2014-09-19 19:23:49 +02:00
|
|
|
<version>${eitchnet.privilege.version}</version>
|
2013-10-23 20:28:52 +02:00
|
|
|
</dependency>
|
2013-10-23 19:56:05 +02:00
|
|
|
|
2014-08-24 17:22:42 +02:00
|
|
|
<!-- main -->
|
2013-10-23 19:56:05 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.7.2</version>
|
|
|
|
</dependency>
|
2013-11-25 23:24:25 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</dependency>
|
2013-10-23 19:56:05 +02:00
|
|
|
|
2014-08-24 17:22:42 +02:00
|
|
|
<!-- test -->
|
2013-10-23 19:56:05 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<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>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>1.7.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
2014-08-24 17:22:42 +02:00
|
|
|
<!-- main -->
|
2013-10-23 19:56:05 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.eitchnet</groupId>
|
|
|
|
<artifactId>ch.eitchnet.utils</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2014-08-24 17:22:42 +02:00
|
|
|
<!-- test -->
|
2013-10-23 19:56:05 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2014-01-23 22:00:56 +01:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
2013-10-23 19:56:05 +02:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2014-08-14 16:35:33 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
|
|
<version>2.1</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-scm-plugin</artifactId>
|
|
|
|
<version>1.9.1</version>
|
|
|
|
<configuration>
|
|
|
|
<tag>${project.artifactId}-${project.version}</tag>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2014-01-23 22:00:56 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<doCheck>false</doCheck>
|
|
|
|
<doUpdate>false</doUpdate>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2013-10-23 19:56:05 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.0</version>
|
|
|
|
<configuration>
|
2015-01-22 18:04:33 +01:00
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2014-03-19 14:19:43 +01:00
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<compilerArgument>-Xlint:all</compilerArgument>
|
2013-10-23 19:56:05 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
<configuration>
|
|
|
|
<outputEncoding>UTF-8</outputEncoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
|
|
<version>2.9</version>
|
|
|
|
<configuration>
|
|
|
|
<downloadJavadocs>true</downloadJavadocs>
|
|
|
|
<downloadSources>true</downloadSources>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.1.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
2014-03-21 22:52:31 +01:00
|
|
|
<phase>package</phase>
|
2013-10-23 19:56:05 +02:00
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.4</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>
|
|
|
|
|
2013-12-24 16:49:36 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
<warName>${warFinalName}</warName>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-12-25 15:18:15 +01:00
|
|
|
<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>
|
2013-12-24 16:49:36 +01:00
|
|
|
|
2013-10-23 19:56:05 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<phase>deploy</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-01-22 18:23:15 +01:00
|
|
|
<configuration>
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
|
|
</configuration>
|
2013-10-23 19:56:05 +02:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<!-- explicitly define maven-deploy-plugin after other to force exec order -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>2.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>deploy</id>
|
|
|
|
<phase>deploy</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>deploy</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>2.8</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>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<!-- mainClass>li.strolch.main.Main</mainClass -->
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
2013-11-25 23:24:25 +01:00
|
|
|
<!-- <descriptorRefs> -->
|
|
|
|
<!-- <descriptorRef>jar-with-dependencies</descriptorRef> -->
|
|
|
|
<!-- </descriptorRefs> -->
|
2013-10-23 19:56:05 +02:00
|
|
|
</configuration>
|
2013-11-25 23:24:25 +01:00
|
|
|
<!-- <executions> -->
|
|
|
|
<!-- <execution> -->
|
|
|
|
<!-- <id>jar-with-dependencies</id> -->
|
|
|
|
<!-- <phase>package</phase> -->
|
|
|
|
<!-- <goals> -->
|
|
|
|
<!-- <goal>single</goal> -->
|
|
|
|
<!-- </goals> -->
|
|
|
|
<!-- </execution> -->
|
|
|
|
<!-- </executions> -->
|
2013-10-23 19:56:05 +02:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
2014-03-21 22:54:38 +01:00
|
|
|
</project>
|