Skip to main content

Source code file content

Revision: 57877

Use a different date format, because mvn or hudson is doing intelligent parsing of other format.
» Project Revision History

» Checkout URL

svn / trunk / logging-annotation-processor / release.sh

Size: 918 bytes, 1 line
#!/bin/sh

#
# Usage:
#   ./release.sh your-jvnet-password
#
#------------------------------------------------------   
#--	BE SURE TO HAVE THE FOLLOWING IN YOUR SETTINGS.XML
#------------------------------------------------------
#
#    <servers>
#        <server>
#            <id>jvnet-nexus-staging</id>
#            <username>jvnet_id</username>
#            <password>password</password>
#        </server>
#    </servers>

if [ "$#" -ne 1 ]; then
  echo "Usage: $0 your-jvnet-password"
  exit 1
fi

# see the following URL for gpg issues
# https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven#HowToGeneratePGPSignaturesWithMaven-GenerateaKeyPair

mvn -B release:prepare -DpreparationGoals="install -P\!jvnet-release" -Dpassword $1
mvn -B release:perform -Dgoals="deploy -Dhttps.proxyHost=inet-rmmc01.oracle.com -Dhttps.proxyPort=80 -Pjvnet-release -Dgpg.passphrase=glassfish"

 
 
Close
loading
Please Confirm
Close