diff --git a/pom.xml b/pom.xml index b1b385a1..c414a934 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.github.theholywaffle teamspeak3-api - 1.0.14-SNAPSHOT + 1.0.14 jar TeamSpeak 3 Java API diff --git a/script/deploy.sh b/script/deploy.sh deleted file mode 100644 index 168a6f2c..00000000 --- a/script/deploy.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -downloadMetadata() { - echo "Retrieving $1/$2" - from="raw.githubusercontent.com/TheHolyWaffle/TeamSpeak-3-Java-API/mvn-repo/com/github/theholywaffle/teamspeak3-api$1/$2" - to="target/mvn-repo/com/github/theholywaffle/teamspeak3-api$1" - - download "$from" "$to" - download "$from.md5" "$to" - download "$from.sha1" "$to" -} - -download() { - echo "Downloading $1 to $2" - wget --no-check-certificate -q -P $2 $1 -} - -if [ "${TRAVIS_PULL_REQUEST}" == "true" ] || [ "${TRAVIS_BRANCH}" != "master" ]; then - echo "Not master branch or pull request, aborting deployment" - exit 0 -fi - -version=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -Ex '^[[:digit:]][^/]+$') -echo "Project version: $version" - -echo "Writing settings.xml" -echo "github${OAUTH2_DEPLOY_TOKEN}" > ~/settings.xml - -echo "Retrieving Maven metadata files" -downloadMetadata "" "maven-metadata.xml" -downloadMetadata "/$version" "maven-metadata.xml" - -if [[ "$version" == *SNAPSHOT ]]; then - echo "Snapshot build, deploying artifacts" - echo "Running 'mvn deploy --settings ~/settings.xml -DskipTests=true -P snapshot -B -V'" - mvn deploy --settings ~/settings.xml -DskipTests=true -P snapshot -B -V -else - echo "Release build, deploying artifacts and publishing javadocs" - echo "Running 'mvn deploy --settings ~/settings.xml -DskipTests=true -B -V'" - mvn deploy --settings ~/settings.xml -DskipTests=true -B -V -fi diff --git a/src/site/download-javadoc.html b/src/site/download-javadoc.html deleted file mode 100644 index e388219f..00000000 --- a/src/site/download-javadoc.html +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/src/site/download-sources.html b/src/site/download-sources.html deleted file mode 100644 index 501cb396..00000000 --- a/src/site/download-sources.html +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/src/site/download.html b/src/site/download.html deleted file mode 100644 index f7f51fbc..00000000 --- a/src/site/download.html +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/src/site/index.html b/src/site/index.html deleted file mode 100644 index 7b70fdab..00000000 --- a/src/site/index.html +++ /dev/null @@ -1,3 +0,0 @@ -