|
<?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>ds-client</artifactId>
|
|
<version>2.1</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>DS-Client</name>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<lib-cxf-version>2.7.5</lib-cxf-version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- Log dependencies -->
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>1.1.1</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>
|
|
<wsdlOptions>
|
|
<wsdlOption>
|
|
<packagenames>
|
|
<packagename>urn:unicaen:iota:ds:xsd=fr.unicaen.iota.ds.model</packagename>
|
|
<packagename>urn:unicaen:iota:ds:wsdl=fr.unicaen.iota.ds.soap</packagename>
|
|
</packagenames>
|
|
<wsdl>${basedir}/src/main/resources/wsdl/ds.wsdl</wsdl>
|
|
</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>
|