From b5598e97aa7d22a933223f6211d50329b1a20308 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Tue, 4 Jan 2011 13:02:48 -0800 Subject: Added testng.xml and now running the tests directly with TestNG instead of Maven. --- build-with-maven | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build-with-maven') 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" -- cgit v1.2.3