From 7732135a2bcf140da98df772b762561d725624b7 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 20 Aug 2014 11:09:13 -0700 Subject: [PATCH] Add repositories section to dependencies POM Add a repositories section to the spring-boot-dependencies POM but strip it out during a CI build. This allows snapshot and milestone BOM imports to be used but doesn't pollute published POMs and doesn't prevent a fresh checkout from building. Fixes gh-1413 --- pom.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/pom.xml b/pom.xml index 76d617087d..030092e663 100644 --- a/pom.xml +++ b/pom.xml @@ -254,5 +254,34 @@ + + ci + + + + com.google.code.maven-replacer-plugin + replacer + + + remove-repo-samples + + replace + + + + ${basedir}/spring-boot-dependencies/pom.xml + + + DOTALL + + \n\t<repositories>.*</repositories> + + + + + + + +