Remove settings.xml before starting TravisCI builds.
TravisCI's settings.xml is outdated and contains references to obsolete repositories. See gh-83.
This commit is contained in:
@@ -25,7 +25,7 @@ env:
|
||||
- PROFILE=springNext
|
||||
|
||||
before_install:
|
||||
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
|
||||
- test ! -f ~/.m2/settings.xml || rm ~/.m2/settings.xml
|
||||
|
||||
install:
|
||||
- src/test/bash/start.sh
|
||||
|
||||
Reference in New Issue
Block a user