root/lib/epcis-0.5.0/epcis-captureclient/pom.xml @ 19b58bab
2e0a7cb1 | Sylvain L. Sauvage | <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-captureclient</artifactId>
|
|||
<version>0.5.0</version>
|
|||
<parent>
|
|||
<artifactId>epcis</artifactId>
|
|||
<groupId>org.fosstrak.epcis</groupId>
|
|||
<version>0.5.0</version>
|
|||
</parent>
|
|||
<packaging>jar</packaging>
|
|||
<modelVersion>4.0.0</modelVersion>
|
|||
<name>epcis-captureclient</name>
|
|||
<!-- =========================================================== -->
|
|||
<!-- Dependencies -->
|
|||
<!-- =========================================================== -->
|
|||
<dependencies>
|
|||
<dependency>
|
|||
<groupId>org.fosstrak.epcis</groupId>
|
|||
<artifactId>epcis-commons</artifactId>
|
|||
<version>${project.version}</version>
|
|||
</dependency>
|
|||
</dependencies>
|
|||
<!-- =========================================================== -->
|
|||
<!-- Build settings -->
|
|||
<!-- =========================================================== -->
|
|||
<build>
|
|||
<resources>
|
|||
<resource>
|
|||
<directory>src/main/resources</directory>
|
|||
<filtering>true</filtering>
|
|||
</resource>
|
|||
</resources>
|
|||
<plugins>
|
|||
<plugin>
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
|||
<artifactId>maven-jar-plugin</artifactId>
|
|||
<configuration>
|
|||
<archive>
|
|||
<manifestEntries>
|
|||
<Class-Path>.</Class-Path>
|
|||
</manifestEntries>
|
|||
<manifest>
|
|||
<mainClass>org.fosstrak.epcis.captureclient.CaptureClientGui</mainClass>
|
|||
<addClasspath>true</addClasspath>
|
|||
<classpathPrefix>./lib</classpathPrefix>
|
|||
</manifest>
|
|||
</archive>
|
|||
</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>
|
|||
<!--
|
|||
This plugin generates the webstart app, the template for the
|
|||
jnlp file is taken from src/jnlp/template.vm.
|
|||
The plugin will be executed during the deploy phase, otherwise
|
|||
an error will occur!
|
|||
-->
|
|||
<groupId>org.codehaus.mojo</groupId>
|
|||
<artifactId>webstart-maven-plugin</artifactId>
|
|||
<executions>
|
|||
<execution>
|
|||
<phase>deploy</phase>
|
|||
<goals>
|
|||
<goal>jnlp</goal>
|
|||
</goals>
|
|||
</execution>
|
|||
</executions>
|
|||
<configuration>
|
|||
<workDirectory>${project.build.directory}/site/webstart</workDirectory>
|
|||
<dependencies>
|
|||
<!--
|
|||
Exclude everything that is not absulutely necessary in order to
|
|||
keep the footprint as small and the download as quick as possible.
|
|||
-->
|
|||
<excludes>
|
|||
<exclude>com.sun.xml.bind:jaxb-impl</exclude>
|
|||
<exclude>javax.xml.bind:jaxb-api</exclude>
|
|||
<exclude>javax.xml.bind:jsr173_api</exclude>
|
|||
<exclude>javax.activation:activation</exclude>
|
|||
</excludes>
|
|||
</dependencies>
|
|||
<jnlp>
|
|||
<outputFile>epcis-captureclient.jnlp</outputFile>
|
|||
<mainClass>org.fosstrak.epcis.captureclient.CaptureClientGui</mainClass>
|
|||
</jnlp>
|
|||
<!-- kestore management (do not generate a new kestore) -->
|
|||
<keystore>
|
|||
<delete>false</delete>
|
|||
<gen>false</gen>
|
|||
</keystore>
|
|||
<sign>
|
|||
<!--
|
|||
values are provided via command line using -Dkeystore=... etc,
|
|||
or may be specified as properties in a profile in your settings.xml
|
|||
file like so
|
|||
<profile>
|
|||
<id>webstart</id>
|
|||
<properties>
|
|||
<keystore>...</keystore>
|
|||
<storepass>...</storepass>
|
|||
<keypass>...</keypass>
|
|||
<alias>...</alias>
|
|||
</properties>
|
|||
</profile>
|
|||
-->
|
|||
<keystore>${keystore}</keystore>
|
|||
<keypass>${keypass}</keypass>
|
|||
<storepass>${storepass}</storepass>
|
|||
<alias>${alias}</alias>
|
|||
<storetype>jks</storetype>
|
|||
<verify>true</verify>
|
|||
</sign>
|
|||
</configuration>
|
|||
</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>
|
|||
</project>
|