From 862f19beba8d5f444f90965a9b3ded3d3a4e8925 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 6 Oct 2014 13:02:33 +0100 Subject: [PATCH] Extract repositories to .settings.xml --- .settings.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ .travis.yml | 2 +- pom.xml | 11 ----------- 3 files changed, 51 insertions(+), 12 deletions(-) diff --git a/.settings.xml b/.settings.xml index b3358a1e..006f51ef 100644 --- a/.settings.xml +++ b/.settings.xml @@ -7,4 +7,54 @@ ${env.CI_DEPLOY_PASSWORD} + + + spring + true + + + spring-snapshots + Spring Snapshots + http://repo.spring.io/libs-snapshot-local + + true + + + + spring-milestones + Spring Milestones + http://repo.spring.io/libs-milestone-local + + false + + + + spring-releases + Spring Releases + http://repo.spring.io/release + + false + + + + + + spring-snapshots + Spring Snapshots + http://repo.spring.io/libs-snapshot-local + + true + + + + spring-milestones + Spring Milestones + http://repo.spring.io/libs-milestone-local + + false + + + + + diff --git a/.travis.yml b/.travis.yml index 50364b03..dda19ac0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ before_install: - git config credential.helper "store --file=.git/credentials" - echo "https://$GH_TOKEN:@github.com" > .git/credentials install: -- mvn install -P docs -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true +- mvn --settings .settings.xml install -P docs -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true - ./src/main/asciidoc/ghpages.sh script: mvn --settings .settings.xml deploy -nsu -Dmaven.test.redirectTestOutputToFile=true env: diff --git a/pom.xml b/pom.xml index dd6de39b..e7c6eb17 100644 --- a/pom.xml +++ b/pom.xml @@ -238,15 +238,4 @@ - - - spring-snapshots - Spring Snapshots - http://repo.spring.io/snapshot - - true - - - -