|
<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">
|
|
|
|
<!-- =========================================================== -->
|
|
<!-- Basics -->
|
|
<!-- =========================================================== -->
|
|
|
|
<groupId>org.fosstrak.epcis</groupId>
|
|
<artifactId>epcis-repository</artifactId>
|
|
<version>0.5.0</version>
|
|
<parent>
|
|
<artifactId>epcis</artifactId>
|
|
<groupId>org.fosstrak.epcis</groupId>
|
|
<version>0.5.0</version>
|
|
</parent>
|
|
<packaging>war</packaging>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<name>epcis-repository</name>
|
|
|
|
<properties>
|
|
<lib-cxf-version>2.2.9</lib-cxf-version>
|
|
<lib-spring-version>2.5.6.SEC03</lib-spring-version>
|
|
</properties>
|
|
|
|
<!-- =========================================================== -->
|
|
<!-- Dependencies -->
|
|
<!-- =========================================================== -->
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.fosstrak.epcis</groupId>
|
|
<artifactId>epcis-commons</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>1.2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.14</version>
|
|
</dependency>
|
|
<!-- Hibernate dependencies -->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate</artifactId>
|
|
<version>3.2.5.ga</version>
|
|
</dependency>
|
|
<!-- Spring dependencies -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
<version>${lib-spring-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<version>${lib-spring-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${lib-spring-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${lib-spring-version}</version>
|
|
</dependency>
|
|
<!-- CXF dependencies -->
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
<version>${lib-cxf-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
<version>${lib-cxf-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-local</artifactId>
|
|
<version>${lib-cxf-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-databinding-jaxb</artifactId>
|
|
<version>${lib-cxf-version}</version>
|
|
</dependency>
|
|
<!-- test dependencies -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>[3.8,4)</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
<!-- =========================================================== -->
|
|
<!-- Build settings -->
|
|
<!-- =========================================================== -->
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/webapp</directory>
|
|
<filtering>true</filtering>
|
|
<targetPath>../webapp-filtered</targetPath>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/sql</directory>
|
|
<includes>
|
|
<include>**/*.sql</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<configuration>
|
|
<warSourceDirectory>${project.build.directory}/webapp-filtered</warSourceDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!--
|
|
The tomcat-maven-plugin is used to deploy the application to Tomcat
|
|
using the Tomcat Manager. The login credentials for the Manager
|
|
application must be specified in a corresponding server block in your
|
|
settings.xml (http://maven.apache.org/settings.html#Servers), e.g.
|
|
<server>
|
|
<id>tomcat-manager</id>
|
|
<username>admin</username>
|
|
<password></password>
|
|
</server>
|
|
-->
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>tomcat-maven-plugin</artifactId>
|
|
<configuration>
|
|
<server>tomcat-manager</server>
|
|
<!-- uncomment if you use Tomcat 7
|
|
<url>http://localhost:8080/manager/html</url>
|
|
-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/bin-with-dependencies.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<configuration>
|
|
<includes>
|
|
<include>org/**</include>
|
|
</includes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>install-file</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packaging>jar</packaging>
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
<groupId>${project.groupId}</groupId>
|
|
<version>${project.version}</version>
|
|
<file>
|
|
${project.build.directory}/${project.artifactId}-${project.version}.jar
|
|
</file>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<!-- =========================================================== -->
|
|
<!-- Reporting -->
|
|
<!-- =========================================================== -->
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<configuration>
|
|
<includes>**/*.java</includes>
|
|
<excludes>org/fosstrak/epcis/soapapi/*.*</excludes>
|
|
<configLocation>${basedir}/../src/config/epcis_checks.xml</configLocation>
|
|
<enableRulesSummary>false</enableRulesSummary>
|
|
<propertyExpansion>samedir=${basedir}/../src/config</propertyExpansion>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<!-- Can't reliably build site with dependencies report enabled. -->
|
|
<!-- <report>dependencies</report> -->
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
|
|
<!-- =========================================================== -->
|
|
<!-- Repositories -->
|
|
<!-- =========================================================== -->
|
|
|
|
<pluginRepositories>
|
|
<!-- for getting the tomcat-maven-plugin libraries -->
|
|
<pluginRepository>
|
|
<id>Codehaus Maven Repository</id>
|
|
<url>http://maven.codehaus.org/maven2/</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
</project>
|