Remove distribution management
This commit is contained in:
14
pom.xml
14
pom.xml
@@ -80,13 +80,6 @@
|
|||||||
<url>https://travis-ci.org/runelite/runelite</url>
|
<url>https://travis-ci.org/runelite/runelite</url>
|
||||||
</ciManagement>
|
</ciManagement>
|
||||||
|
|
||||||
<distributionManagement>
|
|
||||||
<repository>
|
|
||||||
<id>runelite</id>
|
|
||||||
<url>dav:http://repo.runelite.net</url>
|
|
||||||
</repository>
|
|
||||||
</distributionManagement>
|
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>maven-central</id>
|
<id>maven-central</id>
|
||||||
@@ -226,12 +219,5 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<extensions>
|
|
||||||
<extension>
|
|
||||||
<groupId>org.apache.maven.wagon</groupId>
|
|
||||||
<artifactId>wagon-webdav-jackrabbit</artifactId>
|
|
||||||
<version>2.12</version>
|
|
||||||
</extension>
|
|
||||||
</extensions>
|
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -1,12 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PROJECT_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec`
|
mvn clean install --settings travis/settings.xml
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user