diff --git a/samples/rest-notes-slate/build.gradle b/samples/rest-notes-slate/build.gradle index 84cba536..51b03299 100644 --- a/samples/rest-notes-slate/build.gradle +++ b/samples/rest-notes-slate/build.gradle @@ -23,13 +23,14 @@ ext['spring-restdocs.version'] = '3.0.0-SNAPSHOT' dependencies { implementation platform("org.springframework:spring-framework-bom:6.0.0-M2") + implementation platform("org.springframework.data:spring-data-bom:2022.0.0-SNAPSHOT") implementation "com.fasterxml.jackson.core:jackson-databind:2.13.1" implementation "jakarta.servlet:jakarta.servlet-api:5.0.0" implementation "org.hibernate.validator:hibernate-validator:7.0.0.Final" implementation "org.hibernate:hibernate-core-jakarta:5.5.7.Final" implementation "org.springframework:spring-webmvc" - implementation "org.springframework.data:spring-data-jpa:3.0.0-SNAPSHOT" - implementation "org.springframework.data:spring-data-rest-webmvc:4.0.0-SNAPSHOT" + implementation "org.springframework.data:spring-data-jpa" + implementation "org.springframework.data:spring-data-rest-webmvc" runtimeOnly 'com.h2database:h2:2.0.206' runtimeOnly 'org.atteo:evo-inflector:1.2.1' diff --git a/samples/rest-notes-spring-data-rest/pom.xml b/samples/rest-notes-spring-data-rest/pom.xml index 81d487df..9d1c5b30 100644 --- a/samples/rest-notes-spring-data-rest/pom.xml +++ b/samples/rest-notes-spring-data-rest/pom.xml @@ -24,6 +24,13 @@ import pom + + org.springframework.data + spring-data-bom + 2022.0.0-SNAPSHOT + import + pom + @@ -55,12 +62,10 @@ org.springframework.data spring-data-jpa - 3.0.0-SNAPSHOT org.springframework.data spring-data-rest-webmvc - 4.0.0-SNAPSHOT