From 8645fc886c0dcdb0547796fe5c48c01cbdb83ee3 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Fri, 2 Aug 2019 13:40:59 -0600 Subject: [PATCH] Let Boot Manage JAXB Fixes: gh-151 --- gradle/dependency-management.gradle | 4 ---- .../spring-security-oauth2-autoconfigure.gradle | 5 ++--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/gradle/dependency-management.gradle b/gradle/dependency-management.gradle index fcf8298..71654fe 100644 --- a/gradle/dependency-management.gradle +++ b/gradle/dependency-management.gradle @@ -3,10 +3,6 @@ dependencyManagement { mavenBom "org.springframework.boot:spring-boot-parent:$springBootVersion" } dependencies { - dependency 'com.sun.xml.bind:jaxb-core:2.3.0.1' - dependency 'com.sun.xml.bind:jaxb-impl:2.3.0.1' - dependency 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359' - dependency "org.springframework.boot:spring-boot:$springBootVersion" dependency 'org.springframework.security.oauth:spring-security-oauth2:2.3.4.RELEASE' dependency 'org.springframework.security:spring-security-jwt:1.0.9.RELEASE' diff --git a/spring-security-oauth2-autoconfigure/spring-security-oauth2-autoconfigure.gradle b/spring-security-oauth2-autoconfigure/spring-security-oauth2-autoconfigure.gradle index 196648e..a997405 100644 --- a/spring-security-oauth2-autoconfigure/spring-security-oauth2-autoconfigure.gradle +++ b/spring-security-oauth2-autoconfigure/spring-security-oauth2-autoconfigure.gradle @@ -9,16 +9,15 @@ dependencies { compile 'org.springframework.security:spring-security-jwt' compile 'com.fasterxml.jackson.core:jackson-annotations' compile 'com.fasterxml.jackson.core:jackson-databind' - compile 'javax.xml.bind:jaxb-api' - compile 'com.sun.xml.bind:jaxb-core' - compile 'com.sun.xml.bind:jaxb-impl' optional "org.springframework.boot:spring-boot-configuration-processor" optional 'org.springframework.social:spring-social-config' optional 'org.springframework.social:spring-social-core' optional 'org.springframework.social:spring-social-web' + runtime 'org.glassfish.jaxb:jaxb-runtime' + provided 'javax.servlet:javax.servlet-api' testCompile 'com.tngtech.archunit:archunit-junit4:0.10.2'