From 04ad50c05edb9bc69bac4389df0ef5fbbe1ad1d6 Mon Sep 17 00:00:00 2001 From: Steven Jardine Date: Wed, 24 Feb 2016 15:55:15 -0700 Subject: [PATCH] Added deploy profile for snapshot builds. --- .utility/deploy.sh | 2 +- pom.xml | 45 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/.utility/deploy.sh b/.utility/deploy.sh index 6551358e8..20d0bde5b 100755 --- a/.utility/deploy.sh +++ b/.utility/deploy.sh @@ -2,5 +2,5 @@ set -ev if [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then echo "ossrh\${env.OSSRH_USER}\${env.OSSRH_PASS}" > ~/settings.xml -mvn deploy -Prelease --settings ~/settings.xml +mvn deploy -Pdeploy --settings ~/settings.xml fi diff --git a/pom.xml b/pom.xml index 5fc3ab1a6..a9cbebc2c 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 @@ -229,6 +230,48 @@ + + deploy + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + en + true + true + all + + http://www.gwtproject.org/javadoc/latest + + + + + attach-javadocs + + jar + + + + + + + release