From fdc3d70cd500898db2278402f81b5a2cf7276c54 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 3 Jul 2014 12:08:46 +0100 Subject: [PATCH] Ensure that spring-boot-starter-ws pulls in the right version of Spring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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). --- spring-boot-starters/spring-boot-starter-ws/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spring-boot-starters/spring-boot-starter-ws/pom.xml b/spring-boot-starters/spring-boot-starter-ws/pom.xml index 45a10846c71..92975b9d02e 100644 --- a/spring-boot-starters/spring-boot-starter-ws/pom.xml +++ b/spring-boot-starters/spring-boot-starter-ws/pom.xml @@ -36,6 +36,14 @@ + + org.springframework + spring-jms + + + org.springframework + spring-oxm + org.springframework.ws spring-ws-core