File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,11 @@ language: java
33script : ./mvnw clean verify
44jdk :
55 - openjdk7
6-
6+ after_success :
7+ - if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ $TRAVIS_PULL_REQUEST == false ]; then
8+ ./mvnw clean deploy --settings .travis/settings.xml;
9+ fi;
10+ branches :
11+ only :
12+ - master
13+ - 2.0
Original file line number Diff line number Diff line change 1+ <settings >
2+ <localRepository />
3+ <interactiveMode />
4+ <usePluginRegistry />
5+ <offline />
6+ <pluginGroups />
7+ <servers >
8+ <server >
9+ <id >sonatype-nexus-snapshots</id >
10+ <username >${env.SONATYPE_USERNAME}</username >
11+ <password >${env.SONATYPE_PASSWORD}</password >
12+ </server >
13+ </servers >
14+ <mirrors />
15+ <proxies />
16+ <profiles />
17+ <activeProfiles />
18+ </settings >
You can’t perform that action at this time.
0 commit comments