Skip to content

Commit

Permalink
Remove distribution management
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam- committed May 17, 2018
1 parent 75674cf commit 37ec6d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
14 changes: 0 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@
<url>https://travis-ci.org/runelite/runelite</url>
</ciManagement>

<distributionManagement>
<repository>
<id>runelite</id>
<url>dav:http://repo.runelite.net</url>
</repository>
</distributionManagement>

<repositories>
<repository>
<id>maven-central</id>
Expand Down Expand Up @@ -226,12 +219,5 @@
</plugin>
</plugins>
</pluginManagement>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.12</version>
</extension>
</extensions>
</build>
</project>
11 changes: 1 addition & 10 deletions travis/build.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
#!/bin/bash

PROJECT_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec`

# Don't deploy pull requests (there are no secrets, anyway)
# And don't deploy releases, they are already deployed by the updater before this,
# and are signed.
if [[ "${TRAVIS_PULL_REQUEST}" == "false" && $PROJECT_VERSION == *"-SNAPSHOT" && "$TRAVIS_BRANCH" == "master" ]]; then
mvn clean deploy --settings travis/settings.xml
else
mvn clean install --settings travis/settings.xml
fi
mvn clean install --settings travis/settings.xml

0 comments on commit 37ec6d0

Please sign in to comment.