Skip to content

Commit 01ca056

Browse files
committed
MIgrated sample to maven
1 parent c4b3c7c commit 01ca056

File tree

3 files changed

+64
-0
lines changed
  • samples/airline/client

3 files changed

+64
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
<parent>
4+
<artifactId>airline-client</artifactId>
5+
<groupId>org.springframework.ws</groupId>
6+
<version>2.0.0-M1-SNAPSHOT</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
<artifactId>airline-jax-ws-client</artifactId>
11+
<packaging>jar</packaging>
12+
<name>Spring WS Airline Sample - JAX-WS Client</name>
13+
<profiles>
14+
<profile>
15+
<id>jdk15</id>
16+
<activation>
17+
<jdk>!1.6</jdk>
18+
</activation>
19+
<dependencies>
20+
<dependency>
21+
<groupId>javax.xml.soap</groupId>
22+
<artifactId>saaj-api</artifactId>
23+
<scope>compile</scope>
24+
</dependency>
25+
</dependencies>
26+
</profile>
27+
</profiles>
28+
<build>
29+
<plugins>
30+
<plugin>
31+
<groupId>org.codehaus.mojo</groupId>
32+
<artifactId>jaxws-maven-plugin</artifactId>
33+
<executions>
34+
<execution>
35+
<goals>
36+
<goal>wsimport</goal>
37+
</goals>
38+
<configuration>
39+
<wsdlUrls>
40+
<wsdlUrl>file://${project.basedir}/../airline.wsdl</wsdlUrl>
41+
</wsdlUrls>
42+
<packageName>org.springframework.ws.samples.airline.client.jaxws</packageName>
43+
</configuration>
44+
</execution>
45+
</executions>
46+
</plugin>
47+
<plugin>
48+
<groupId>org.codehaus.mojo</groupId>
49+
<artifactId>exec-maven-plugin</artifactId>
50+
<executions>
51+
<execution>
52+
<goals>
53+
<goal>java</goal>
54+
</goals>
55+
</execution>
56+
</executions>
57+
<configuration>
58+
<mainClass>org.springframework.ws.samples.airline.client.jaxws.Main</mainClass>
59+
</configuration>
60+
</plugin>
61+
</plugins>
62+
</build>
63+
</project>

samples/airline/client/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
<module>axis1</module>
1616
<module>spring-ws</module>
1717
<module>jms</module>
18+
<module>jax-ws</module>
1819
</modules>
1920
</project>

0 commit comments

Comments
 (0)