diff options
author | Cedric Beust <cedric@beust.com> | 2011-01-04 13:02:48 -0800 |
---|---|---|
committer | Cedric Beust <cedric@beust.com> | 2011-01-04 13:02:48 -0800 |
commit | b5598e97aa7d22a933223f6211d50329b1a20308 (patch) | |
tree | afb37f4dd6dbde19edb3d0db4575be6e903af0b1 /build-with-maven | |
parent | e5012b124d36eda59ffb69ca42dcd89637279716 (diff) | |
download | jcommander-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-x | build-with-maven | 4 |
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" |