|
<?xml version="1.0" encoding="utf-8"?>
|
|
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>fr.unicaen.iota</groupId>
|
|
<artifactId>sigma-client</artifactId>
|
|
<version>2.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>SigMa-Client</name>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<lib-cxf-version>2.7.5</lib-cxf-version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Log dependencies -->
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>1.1.1</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>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-codegen-plugin</artifactId>
|
|
<version>${lib-cxf-version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-sources</id>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<sourceRoot>${project.build.directory}/generated-sources/cxf</sourceRoot>
|
|
<defaultOptions>
|
|
<packagenames>
|
|
<packagename>urn:unicaen:iota:sigma:xsd=fr.unicaen.iota.sigma.model</packagename>
|
|
<packagename>urn:unicaen:iota:sigma:wsdl=fr.unicaen.iota.sigma.soap</packagename>
|
|
<packagename>urn:epcglobal:xsd:1=org.fosstrak.epcis.model</packagename>
|
|
<packagename>urn:epcglobal:epcis:wsdl:1=org.fosstrak.epcis.soap</packagename>
|
|
<packagename>urn:epcglobal:epcis:xsd:1=org.fosstrak.epcis.model</packagename>
|
|
<packagename>http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader=org.fosstrak.epcis.model</packagename>
|
|
</packagenames>
|
|
</defaultOptions>
|
|
<wsdlOptions>
|
|
<wsdlOption>
|
|
<wsdl>${basedir}/src/main/resources/wsdl/sigma.wsdl</wsdl>
|
|
<wsdlLocation>classpath:wsdl/sigma.wsdl</wsdlLocation>
|
|
</wsdlOption>
|
|
</wsdlOptions>
|
|
</configuration>
|
|
<goals>
|
|
<goal>wsdl2java</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sources</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>src</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|