From 923b48bae07a1e046006e39cda8d06062f492faa Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 10 Oct 2018 16:51:47 +0100 Subject: [PATCH] Exclude duplicate javax.activation classes from web services starter In 2.3.1, the JAX-B API now depends on javax.activation-api. This has caused duplicate Activation classes to appear in the starter due to dependencies on both javax.activation:activation:1.1 and on javax.activation:javax.activation-api:1.2. This commit removes the duplicate classes by excluding the former in favour of the latter. See gh-14754 --- .../spring-boot-starter-web-services/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-web-services/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-web-services/pom.xml index ed6970ba70..d223ef8515 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-web-services/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-web-services/pom.xml @@ -21,6 +21,12 @@ com.sun.xml.messaging.saaj saaj-impl + + + javax.activation + activation + + javax.xml.ws