attempt to get travis to use the right repos
This commit is contained in:
60
.settings.xml
Normal file
60
.settings.xml
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<settings>
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>repo.spring.io</id>
|
||||||
|
<username>${env.CI_DEPLOY_USERNAME}</username>
|
||||||
|
<password>${env.CI_DEPLOY_PASSWORD}</password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>spring</id>
|
||||||
|
<activation><activeByDefault>true</activeByDefault></activation>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>spring-snapshots</id>
|
||||||
|
<name>Spring Snapshots</name>
|
||||||
|
<url>http://repo.spring.io/libs-snapshot-local</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>spring-milestones</id>
|
||||||
|
<name>Spring Milestones</name>
|
||||||
|
<url>http://repo.spring.io/libs-milestone-local</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>spring-releases</id>
|
||||||
|
<name>Spring Releases</name>
|
||||||
|
<url>http://repo.spring.io/release</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>spring-snapshots</id>
|
||||||
|
<name>Spring Snapshots</name>
|
||||||
|
<url>http://repo.spring.io/libs-snapshot-local</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</pluginRepository>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>spring-milestones</id>
|
||||||
|
<name>Spring Milestones</name>
|
||||||
|
<url>http://repo.spring.io/libs-milestone-local</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
</settings>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#sudo: false
|
#sudo: false
|
||||||
cache:
|
#cache:
|
||||||
directories:
|
# directories:
|
||||||
- $HOME/.m2
|
# - $HOME/.m2
|
||||||
language: java
|
language: java
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk7
|
- oraclejdk7
|
||||||
@@ -11,7 +11,7 @@ before_install:
|
|||||||
- git config credential.helper "store --file=.git/credentials"
|
- git config credential.helper "store --file=.git/credentials"
|
||||||
- echo "https://$GH_TOKEN:@github.com" > .git/credentials
|
- echo "https://$GH_TOKEN:@github.com" > .git/credentials
|
||||||
install:
|
install:
|
||||||
- mvn clean package --update-snapshots -Dmaven.test.redirectTestOutputToFile=true
|
- mvn --settings .settings.xml --update-snapshots clean package -Dmaven.test.redirectTestOutputToFile=true
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- GIT_NAME="Dave Syer"
|
- GIT_NAME="Dave Syer"
|
||||||
|
|||||||
Reference in New Issue
Block a user