summaryrefslogtreecommitdiffstats
path: root/build-with-maven
diff options
context:
space:
mode:
Diffstat (limited to 'build-with-maven')
-rwxr-xr-xbuild-with-maven16
1 files changed, 16 insertions, 0 deletions
diff --git a/build-with-maven b/build-with-maven
new file mode 100755
index 0000000..0e2de5a
--- /dev/null
+++ b/build-with-maven
@@ -0,0 +1,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"
+