blob: 176ca1ab71515a9a9bc02dc6b94c28dd9d2b62c1 [file] [log] [blame]
mvn -B clean source:jar javadoc:jar repository:bundle-create -P sign
#v=6.5.2beta
export TESTNG=`echo ../testng/target/testng-6.9beta.jar`
run="java -classpath target/classes:target/test-classes:${TESTNG}:$CLASSPATH org.testng.TestNG src/test/resources/testng.xml"
echo "Launching tests: ${run}"
java -classpath target/classes:target/test-classes:${TESTNG}:$CLASSPATH org.testng.TestNG src/test/resources/testng.xml
echo "To deploy to the snapshot repository: mvn deploy"
echo "To deploy to the release directory: mvn -DskipTests=true release:clean release:prepare release:perform"
echo "Nexus UI: https://oss.sonatype.org/index.html"
echo "Wiki: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide"