#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:
9
pom.xml
9
pom.xml
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user