1 mvn -B clean source:jar javadoc:jar repository:bundle-create -P sign 2 3 4 #v=6.5.2beta 5 export TESTNG=`echo ../testng/target/testng-6.8.13.jar` 6 7 run="java -classpath \"target/classes;target/test-classes;${TESTNG};$CLASSPATH\" org.testng.TestNG src/test/resources/testng.xml" 8 echo "Launching tests: ${run}" 9 $run 10 #java -classpath target/classes:target/test-classes:${TESTNG}:$CLASSPATH org.testng.TestNG src/test/resources/testng.xml 11 12 echo "To deploy to the snapshot repository: mvn deploy" 13 echo "To deploy to the release directory: mvn -DskipTests=true release:clean release:prepare release:perform" 14 echo "Nexus UI: https://oss.sonatype.org/index.html" 15 echo "Wiki: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide" 16 17