From 7442e371547ff54317d1a747f28260c4a4adf0b8 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 5 Sep 2018 14:21:52 +0100 Subject: [PATCH] Add JAXB API to Data JPA starter so it works out-of-the-box on Java 9+ Closes gh-14287 --- .../spring-boot-starter-data-jpa/pom.xml | 4 ++++ .../spring-boot-sample-data-jpa/pom.xml | 14 -------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-data-jpa/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-data-jpa/pom.xml index 2e7ad504c5..b29903f645 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-data-jpa/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-data-jpa/pom.xml @@ -38,6 +38,10 @@ javax.transaction javax.transaction-api + + javax.xml.bind + jaxb-api + org.springframework.data spring-data-jpa diff --git a/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml b/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml index 3d33c7cbb6..0cbadadf8b 100755 --- a/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml +++ b/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml @@ -45,18 +45,4 @@ - - - java9+ - - [9,) - - - - javax.xml.bind - jaxb-api - - - -