2017-09-28 19:11:34 +02: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/maven-v4_0_0.xsd">
<modelVersion > 4.0.0</modelVersion>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<parent >
<groupId > li.strolch</groupId>
<artifactId > li.strolch</artifactId>
<version > 1.6.0-SNAPSHOT</version>
<relativePath > ../pom.xml</relativePath>
</parent>
2016-07-05 09:50:54 +02:00
2017-09-28 19:11:34 +02:00
<artifactId > strolch_minimal_rest</artifactId>
<packaging > war</packaging>
<inceptionYear > 2014</inceptionYear>
<name > strolch_minimal_rest</name>
<url > http://www.strolch.li</url>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<issueManagement >
<system > Github Issues</system>
<url > https://github.com/4treesCH/strolch/issues</url>
</issueManagement>
2016-09-22 09:37:55 +02:00
2017-09-28 19:11:34 +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>
</scm>
2016-09-22 09:37:55 +02:00
2017-09-28 19:11:34 +02:00
<licenses >
<license >
<name > Apache License 2.0</name>
<url > http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
2016-09-22 09:37:55 +02:00
2017-09-28 19:11:34 +02:00
<organization >
<name > Strolch</name>
<url > http://www.strolch.li</url>
</organization>
2016-09-22 09:37:55 +02:00
2017-09-28 19:11:34 +02:00
<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>
</developers>
2016-09-22 09:37:55 +02:00
2017-09-28 19:11:34 +02:00
<properties >
<m2eclipse.wtp.contextRoot > strolch_minimal</m2eclipse.wtp.contextRoot>
<warFinalName > strolch_minimal</warFinalName>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<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>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<java-version > 1.8</java-version>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<strolch.version > ${project.version}</strolch.version>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<tomcat7Url > http://tomcat.eitchnet.ch:8080/manager/text</tomcat7Url>
<tomcat7ServerId > tomcat7.eitchnet.ch</tomcat7ServerId>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
</properties>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<dependencyManagement >
<dependencies >
<dependency >
<groupId > li.strolch</groupId>
<artifactId > li.strolch.bom</artifactId>
<type > pom</type>
<version > ${project.version}</version>
<scope > import</scope>
</dependency>
<dependency >
<groupId > org.glassfish.jersey</groupId>
<artifactId > jersey-bom</artifactId>
<version > ${jersey.version}</version>
<type > pom</type>
<scope > import</scope>
</dependency>
</dependencies>
</dependencyManagement>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<dependencies >
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<!-- base -->
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
</dependency>
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-classic</artifactId>
<scope > runtime</scope>
</dependency>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<!-- eitchnet -->
<dependency >
<groupId > li.strolch</groupId>
<artifactId > li.strolch.utils</artifactId>
</dependency>
<dependency >
<groupId > li.strolch</groupId>
<artifactId > li.strolch.privilege</artifactId>
</dependency>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<!-- strolch -->
<dependency >
<groupId > li.strolch</groupId>
<artifactId > li.strolch.model</artifactId>
</dependency>
<dependency >
<groupId > li.strolch</groupId>
<artifactId > li.strolch.agent</artifactId>
</dependency>
<dependency >
<groupId > li.strolch</groupId>
<artifactId > li.strolch.service</artifactId>
</dependency>
<dependency >
<groupId > li.strolch</groupId>
<artifactId > li.strolch.rest</artifactId>
</dependency>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<!-- Servlet 3.0 API -->
<dependency >
<groupId > javax.servlet</groupId>
<artifactId > javax.servlet-api</artifactId>
<scope > provided</scope>
</dependency>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<!-- Web -->
<dependency >
<groupId > org.glassfish.jersey.containers</groupId>
<artifactId > jersey-container-servlet</artifactId>
</dependency>
<dependency >
<groupId > org.glassfish.jersey.containers</groupId>
<artifactId > jersey-container-grizzly2-http</artifactId>
<scope > test</scope>
</dependency>
<!-- uncomment this to get JSON support: <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey - media - moxy</artifactId> </dependency> -->
<dependency >
<groupId > com.google.code.gson</groupId>
<artifactId > gson</artifactId>
</dependency>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<!-- testing -->
<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>
</dependencies>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<build >
<finalName > ${warFinalName}</finalName>
<resources >
<resource >
<directory > src/main/resources</directory>
<filtering > true</filtering>
<includes >
<include > **/*.properties</include>
</includes>
</resource>
<resource >
<directory > src/main/resources</directory>
<filtering > false</filtering>
<excludes >
<exclude > **/*.properties</exclude>
</excludes>
</resource>
</resources>
2016-09-22 09:37:55 +02:00
2017-09-28 19:11:34 +02:00
<plugins >
2016-09-22 09:37:55 +02:00
2017-09-28 19:11:34 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
<configuration >
<source > ${java-version}</source>
<target > ${java-version}</target>
<showDeprecation > true</showDeprecation>
<showWarnings > true</showWarnings>
<compilerArgument > -Xlint:all</compilerArgument>
</configuration>
</plugin>
2016-09-22 09:37:55 +02:00
2017-09-28 19:11:34 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-eclipse-plugin</artifactId>
<configuration >
<downloadJavadocs > true</downloadJavadocs>
<downloadSources > true</downloadSources>
</configuration>
</plugin>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-war-plugin</artifactId>
<configuration >
<failOnMissingWebXml > false</failOnMissingWebXml>
<warName > ${warFinalName}-${project.version}</warName>
<webResources >
<resource >
<directory > src/main/non-packaged-resources</directory>
<targetPath > WEB-INF</targetPath>
<filtering > true</filtering>
<includes >
<include > **/ENV.properties</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
2017-01-18 10:05:26 +01:00
2017-09-28 19:11:34 +02:00
<plugin >
<!-- Publish to Tomcat: mvn tomcat7:redeploy -->
<groupId > org.apache.tomcat.maven</groupId>
<artifactId > tomcat7-maven-plugin</artifactId>
<configuration >
<url > ${tomcat7Url}</url>
<server > ${tomcat7ServerId}</server>
<path > /${warFinalName}</path>
</configuration>
</plugin>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<plugin >
<groupId > org.sonatype.plugins</groupId>
<artifactId > nexus-staging-maven-plugin</artifactId>
<configuration >
<skipNexusStagingDeployMojo > true</skipNexusStagingDeployMojo>
</configuration>
</plugin>
2017-01-18 10:05:26 +01:00
2017-09-28 19:11:34 +02:00
</plugins>
</build>
2015-07-09 14:51:06 +02:00
2017-09-28 19:11:34 +02:00
<profiles >
<profile >
<id > m2e</id>
<!-- This profile is only activated when building in Eclipse with m2e -->
<activation >
<property >
<name > m2e.version</name>
</property>
</activation>
<properties >
<strolch.env > dev</strolch.env>
</properties>
</profile>
</profiles>
2015-07-09 14:51:06 +02:00
</project>