summaryrefslogtreecommitdiffstats
path: root/build-with-maven
blob: 0e2de5a978578bb08b1e589b456488b632d8664a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mvn -B clean source:jar javadoc:jar repository:bundle-create -P sign


#v=6.5.2beta
export TESTNG=`echo ../testng/target/testng-6.8.13.jar`

run="java -classpath \"target/classes;target/test-classes;${TESTNG};$CLASSPATH\" org.testng.TestNG src/test/resources/testng.xml"
echo "Launching tests: ${run}"
$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"