MIgrated sample to maven

This commit is contained in:
Arjen Poutsma
2010-02-26 12:58:52 +00:00
parent c4b3c7cba3
commit 01ca056752
3 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
<?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/maven-v4_0_0.xsd">
<parent>
<artifactId>airline-client</artifactId>
<groupId>org.springframework.ws</groupId>
<version>2.0.0-M1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>airline-jax-ws-client</artifactId>
<packaging>jar</packaging>
<name>Spring WS Airline Sample - JAX-WS Client</name>
<profiles>
<profile>
<id>jdk15</id>
<activation>
<jdk>!1.6</jdk>
</activation>
<dependencies>
<dependency>
<groupId>javax.xml.soap</groupId>
<artifactId>saaj-api</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<wsdlUrls>
<wsdlUrl>file://${project.basedir}/../airline.wsdl</wsdlUrl>
</wsdlUrls>
<packageName>org.springframework.ws.samples.airline.client.jaxws</packageName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.springframework.ws.samples.airline.client.jaxws.Main</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -15,5 +15,6 @@
<module>axis1</module>
<module>spring-ws</module>
<module>jms</module>
<module>jax-ws</module>
</modules>
</project>