#205 - Added build profile for Spring 5.

Inverted dependencies in the web example as Spring Boot 1.4 ships Tomcat 8.5.4 which contains JPA 2.0 types and — if they end up on the classpath before the actual JPA API jar — breaks the Spring 5 JPA bootstrap as it's assuming JPA 2.1 to be the fundamental baseline.
This commit is contained in:
Oliver Gierke
2016-07-30 18:09:02 +02:00
parent 0f7afacafc
commit 7519f8e385
2 changed files with 14 additions and 5 deletions

View File

@@ -42,6 +42,15 @@
</properties>
<profiles>
<profile>
<id>spring5</id>
<properties>
<spring.version>5.0.0.M1</spring.version>
</properties>
</profile>
</profiles>
<developers>
<developer>
<id>ogierke</id>

View File

@@ -14,6 +14,11 @@
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
@@ -24,11 +29,6 @@
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>