summaryrefslogtreecommitdiff
path: root/build-with-maven
diff options
context:
space:
mode:
authorCedric Beust <cedric@beust.com>2011-01-04 13:02:48 -0800
committerCedric Beust <cedric@beust.com>2011-01-04 13:02:48 -0800
commitb5598e97aa7d22a933223f6211d50329b1a20308 (patch)
treeafb37f4dd6dbde19edb3d0db4575be6e903af0b1 /build-with-maven
parente5012b124d36eda59ffb69ca42dcd89637279716 (diff)
downloadjcommander-b5598e97aa7d22a933223f6211d50329b1a20308.tar.gz
Added testng.xml and now running the tests directly with TestNG instead of Maven.
Diffstat (limited to 'build-with-maven')
-rwxr-xr-xbuild-with-maven4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-with-maven b/build-with-maven
index 063a495..75677bd 100755
--- a/build-with-maven
+++ b/build-with-maven
@@ -1,5 +1,9 @@
mvn clean source:jar javadoc:jar repository:bundle-create -P sign
+export TESTNG=../testng/target/testng-5.14.7beta.jar
+
+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 release:clean release:prepare release:perform"
echo "Nexus UI: https://oss.sonatype.org/index.html"