From 7d4fbacecd73365ece0f102cc8c87438c1b8dd82 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 21 Aug 2014 00:44:22 -0700 Subject: [PATCH] Fix invoker to not download remote artifacts Updates to prevent the maven-invoker-plugin from downloading remote snapshot jars. Possibly caused by the recent changes to the spring-boot-dependencies POM. See gh-1413 --- pom.xml | 2 +- spring-boot-dependencies/pom.xml | 57 ++++++++++++++++----------- spring-boot-integration-tests/pom.xml | 4 ++ spring-boot-samples/pom.xml | 44 --------------------- 4 files changed, 39 insertions(+), 68 deletions(-) diff --git a/pom.xml b/pom.xml index 030092e663..204be1155d 100644 --- a/pom.xml +++ b/pom.xml @@ -274,7 +274,7 @@ DOTALL - \n\t<repositories>.*</repositories> + \n\t<profiles>.*</profiles> diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index 9823e3c871..0ba47db526 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -1313,26 +1313,37 @@ - - - - spring-milestones - Spring Milestones - http://repo.spring.io/milestone - - false - - - - spring-snapshots - Spring Snapshots - http://repo.spring.io/snapshot - - true - - - - + + + default + + true + + + + + spring-milestones + Spring Milestones + http://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + http://repo.spring.io/snapshot + + true + + + + + + integration-test + + + \ No newline at end of file diff --git a/spring-boot-integration-tests/pom.xml b/spring-boot-integration-tests/pom.xml index c316444864..668d7e55ae 100644 --- a/spring-boot-integration-tests/pom.xml +++ b/spring-boot-integration-tests/pom.xml @@ -51,6 +51,10 @@ ${project.build.directory}/local-repo ${skipTests} true + + integration-test + + diff --git a/spring-boot-samples/pom.xml b/spring-boot-samples/pom.xml index 04159f6995..c8679bd1cd 100644 --- a/spring-boot-samples/pom.xml +++ b/spring-boot-samples/pom.xml @@ -101,48 +101,4 @@ - - - spring-snapshots - Spring Snapshots - http://repo.spring.io/snapshot - - true - - - - spring-milestones - Spring Milestones - http://repo.spring.io/milestone - - false - - - - - - spring-snapshots - Spring Snapshots - http://repo.spring.io/snapshot - - true - - - - spring-milestones - Spring Milestones - http://repo.spring.io/milestone - - false - - - - spring-releases - Spring Releases - http://repo.spring.io/release - - false - - -