Skip to content

Commit 9a392fb

Browse files
committed
1 parent 2706fd0 commit 9a392fb

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

samples/mtom/server/pom.xml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,20 @@
5858
<build>
5959
<plugins>
6060
<plugin>
61-
<groupId>com.sun.tools.xjc.maven2</groupId>
62-
<artifactId>maven-jaxb-plugin</artifactId>
61+
<groupId>org.codehaus.mojo</groupId>
62+
<artifactId>jaxb2-maven-plugin</artifactId>
6363
<executions>
6464
<execution>
65-
<phase>generate-sources</phase>
6665
<goals>
67-
<goal>generate</goal>
66+
<goal>xjc</goal>
6867
</goals>
6968
</execution>
70-
</executions>
71-
<configuration>
72-
<generatePackage>org.springframework.ws.samples.mtom.schema</generatePackage>
73-
<schemaDirectory>src/main/webapp/WEB-INF</schemaDirectory>
74-
</configuration>
75-
</plugin>
69+
</executions>
70+
<configuration>
71+
<schemaDirectory>src/main/webapp/WEB-INF</schemaDirectory>
72+
<packageName>org.springframework.ws.samples.mtom.schema</packageName>
73+
</configuration>
74+
</plugin>
7675
</plugins>
7776
</build>
7877
<dependencies>
@@ -81,10 +80,5 @@
8180
<groupId>org.springframework.ws</groupId>
8281
<artifactId>spring-ws-core</artifactId>
8382
</dependency>
84-
<dependency>
85-
<groupId>org.springframework</groupId>
86-
<artifactId>spring-oxm</artifactId>
87-
<scope>runtime</scope>
88-
</dependency>
8983
</dependencies>
9084
</project>

samples/pox/server/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@
3030
<groupId>org.springframework.ws</groupId>
3131
<artifactId>spring-ws-core</artifactId>
3232
</dependency>
33+
<dependency>
34+
<groupId>org.springframework.ws</groupId>
35+
<artifactId>spring-xml</artifactId>
36+
</dependency>
3337
</dependencies>
3438
</project>

samples/stockquote/server/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
</plugins>
4949
</build>
5050
<dependencies>
51+
<dependency>
52+
<groupId>org.springframework</groupId>
53+
<artifactId>spring-context</artifactId>
54+
</dependency>
5155
<!-- Spring-WS dependencies -->
5256
<dependency>
5357
<groupId>org.springframework.ws</groupId>
@@ -56,6 +60,7 @@
5660
<dependency>
5761
<groupId>org.springframework.ws</groupId>
5862
<artifactId>spring-ws-support</artifactId>
63+
<scope>runtime</scope>
5964
</dependency>
6065
</dependencies>
6166
</project>

0 commit comments

Comments
 (0)