Add JAXB API to Data JPA starter so it works out-of-the-box on Java 9+

Closes gh-14287
This commit is contained in:
Andy Wilkinson
2018-09-05 14:21:52 +01:00
parent bf05238198
commit 7442e37154
2 changed files with 4 additions and 14 deletions

View File

@@ -38,6 +38,10 @@
<groupId>javax.transaction</groupId>
<artifactId>javax.transaction-api</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>

View File

@@ -45,18 +45,4 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>