Skip to content

Commit fdc3d70

Browse files
committed
Ensure that spring-boot-starter-ws pulls in the right version of Spring
Prior to this commit, when used with Gradle, spring-boot-starter-ws was pulling in the versions of spring-jms, spring-oxm, and spring-tx that Spring WS depends upon, rather than using the Boot’s Spring version. It’s ok at the moment as both Boot and Spring WS depend on Spring 4.0.5 but will cause problems if we upgrade to 4.0.6 before Spring WS does. This commit adds explicit dependencies on spring-jms and spring-oxm so that Gradle pulls in the correct version (as long as a transitive dependency doesn’t pull in a version that’s greater than the version Boot’s using).
1 parent 4be688a commit fdc3d70

File tree

1 file changed

+8
-0
lines changed
  • spring-boot-starters/spring-boot-starter-ws

1 file changed

+8
-0
lines changed

spring-boot-starters/spring-boot-starter-ws/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@
3636
</exclusion>
3737
</exclusions>
3838
</dependency>
39+
<dependency>
40+
<groupId>org.springframework</groupId>
41+
<artifactId>spring-jms</artifactId>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.springframework</groupId>
45+
<artifactId>spring-oxm</artifactId>
46+
</dependency>
3947
<dependency>
4048
<groupId>org.springframework.ws</groupId>
4149
<artifactId>spring-ws-core</artifactId>

0 commit comments

Comments
 (0)