|
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | | - |
7 | 6 | <parent> |
8 | 7 | <groupId>org.springframework.ws</groupId> |
9 | 8 | <artifactId>spring-ws-samples</artifactId> |
10 | 9 | <version>2.0.0-SNAPSHOT</version> |
11 | | - <relativePath>../../../</relativePath> <!-- lookup parent from repository --> |
| 10 | + <relativePath>../../../pom.xml</relativePath> |
12 | 11 | </parent> |
13 | | - |
14 | | - <groupId>org.springframework.ws</groupId> |
15 | 12 | <artifactId>airline-client-axis1</artifactId> |
16 | | - <version>0.0.1-SNAPSHOT</version> |
17 | 13 | <name>Spring Web Services Samples - Airline - Client - Axis1</name> |
18 | | - <description>Demo project for Spring Web Services</description> |
19 | 14 |
|
20 | 15 | <properties> |
21 | | - <axis.version>1.4</axis.version> |
22 | | - |
23 | 16 | <sourcesDir>${project.basedir}/target/generated-sources/axis</sourcesDir> |
24 | 17 | <classesDir>${project.basedir}/target/classes</classesDir> |
25 | 18 | <wsdl>${project.basedir}/../airline.wsdl</wsdl> |
26 | 19 | </properties> |
27 | 20 |
|
28 | 21 | <dependencies> |
29 | | - |
30 | 22 | <dependency> |
31 | 23 | <groupId>axis</groupId> |
32 | 24 | <artifactId>axis</artifactId> |
33 | | - <version>${axis.version}</version> |
34 | 25 | </dependency> |
35 | | - |
36 | 26 | <dependency> |
37 | 27 | <groupId>org.apache.axis</groupId> |
38 | 28 | <artifactId>axis-jaxrpc</artifactId> |
39 | | - <version>${axis.version}</version> |
40 | 29 | </dependency> |
41 | | - |
42 | 30 | </dependencies> |
43 | 31 |
|
44 | 32 | <build> |
45 | | - |
46 | 33 | <plugins> |
47 | 34 | <plugin> |
48 | 35 | <groupId>org.apache.maven.plugins</groupId> |
49 | 36 | <artifactId>maven-antrun-plugin</artifactId> |
50 | | - <version>1.8</version> |
51 | 37 | <dependencies> |
52 | 38 | <dependency> |
53 | 39 | <groupId>axis</groupId> |
|
64 | 50 | <execution> |
65 | 51 | <phase>generate-sources</phase> |
66 | 52 | <configuration> |
67 | | - <tasks> |
| 53 | + <target> |
68 | 54 | <taskdef name="axis-wsdl2java" |
69 | 55 | classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"> |
70 | 56 | <classpath refid="maven.compile.classpath"/> |
|
103 | 89 | <exclude name="**/*.java"/> |
104 | 90 | </fileset> |
105 | 91 | </copy> |
106 | | - </tasks> |
| 92 | + </target> |
107 | 93 | </configuration> |
108 | 94 | <goals> |
109 | 95 | <goal>run</goal> |
|
114 | 100 | <plugin> |
115 | 101 | <groupId>org.codehaus.mojo</groupId> |
116 | 102 | <artifactId>build-helper-maven-plugin</artifactId> |
117 | | - <version>1.1</version> |
118 | 103 | <executions> |
119 | 104 | <execution> |
120 | 105 | <id>add-source</id> |
|
131 | 116 | </executions> |
132 | 117 | </plugin> |
133 | 118 | </plugins> |
134 | | - |
135 | 119 | </build> |
136 | 120 |
|
137 | | - <repositories> |
138 | | - <repository> |
139 | | - <id>spring-snapshots</id> |
140 | | - <name>Spring Snapshots</name> |
141 | | - <url>https://repo.spring.io/snapshot</url> |
142 | | - <snapshots> |
143 | | - <enabled>true</enabled> |
144 | | - </snapshots> |
145 | | - </repository> |
146 | | - <repository> |
147 | | - <id>spring-milestones</id> |
148 | | - <name>Spring Milestones</name> |
149 | | - <url>https://repo.spring.io/milestone</url> |
150 | | - </repository> |
151 | | - </repositories> |
152 | | - <pluginRepositories> |
153 | | - <pluginRepository> |
154 | | - <id>spring-snapshots</id> |
155 | | - <name>Spring Snapshots</name> |
156 | | - <url>https://repo.spring.io/snapshot</url> |
157 | | - <snapshots> |
158 | | - <enabled>true</enabled> |
159 | | - </snapshots> |
160 | | - </pluginRepository> |
161 | | - <pluginRepository> |
162 | | - <id>spring-milestones</id> |
163 | | - <name>Spring Milestones</name> |
164 | | - <url>https://repo.spring.io/milestone</url> |
165 | | - </pluginRepository> |
166 | | - </pluginRepositories> |
167 | | - |
168 | 121 | </project> |
0 commit comments