From 419547dcdfb4f40cc074683647ca854af5b13340 Mon Sep 17 00:00:00 2001 From: Gerrit Meier Date: Tue, 18 Apr 2017 11:08:43 +0200 Subject: [PATCH] Add plugin snapshot repository to Data REST sample Previously, if the main project hadn't been installed in the local Maven repository (./gradlew install), rest-notes-spring-data-rest would fail to build as the plugin dependency, spring-restdocs-asciidoctor, was not available. This commit corrects the problem by adding repo.spring.io/libs-snapshot as a plugin repository in addition to its existing declaration as a "normal" repository. Fixes gh-382 Closes gh-383 --- samples/rest-notes-spring-data-rest/pom.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/samples/rest-notes-spring-data-rest/pom.xml b/samples/rest-notes-spring-data-rest/pom.xml index a9362d29..ca9029b8 100644 --- a/samples/rest-notes-spring-data-rest/pom.xml +++ b/samples/rest-notes-spring-data-rest/pom.xml @@ -128,4 +128,15 @@ + + + spring-snapshots + Spring snapshots + https://repo.spring.io/libs-snapshot + + true + + + +