Upgraded to Spring Boot 1.4 M2 and thus Hibernate 5.1 transitively. Switched to H2 as database for all examples using JPA by accident as the invalid error logging for HSQLDB schema creation got worse in 5.1 (see [0]). The JPA examples themselves have to stay on HSQLDB as H2 doesn't support stored procedures. The stored procedures example in turn has to be downgraded to 5.0.7 as all following versions currently break stored procedure execution support [1]. Reworked the JPA auditing example as 5.1 breaks on generic types used in support types like AbstractAuditable [2]. Tweaked content type assertions in some REST related test cases as Spring 4.3 returns an encoding alongside the media type. [0] https://hibernate.atlassian.net/browse/HHH-10605 [1] https://hibernate.atlassian.net/browse/HHH-10515 [2] https://hibernate.atlassian.net/browse/HHH-10514
41 lines
1.1 KiB
XML
41 lines
1.1 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-data-rest-headers</artifactId>
|
|
|
|
<name>Spring Data REST - Headers Example</name>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.data.examples</groupId>
|
|
<artifactId>spring-data-rest-examples</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.restdocs</groupId>
|
|
<artifactId>spring-restdocs</artifactId>
|
|
<version>1.0.0.M1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project> |