summaryrefslogtreecommitdiffstats
path: root/build-with-maven
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2016-03-24 14:21:34 -0700
committerIgor Murashkin <iam@google.com>2016-03-24 14:21:57 -0700
commit7f95581d269e0815eab16115f0e36c0ee325dc88 (patch)
treef1aa3cbaef213c6d2693df6d0ae4d449cc3e6815 /build-with-maven
parentb3994367e22d0ce3670ff9fb693a4f2939ef5d58 (diff)
parent5321f6ff3251784760f79982b1a720e3607c5003 (diff)
downloadplatform_external_jcommander-7f95581d269e0815eab16115f0e36c0ee325dc88.tar.gz
platform_external_jcommander-7f95581d269e0815eab16115f0e36c0ee325dc88.tar.bz2
platform_external_jcommander-7f95581d269e0815eab16115f0e36c0ee325dc88.zip
Merge remote-tracking branch 'goog/master' into nyc-dev
Bug: 27552463 Change-Id: Icaacbb9acf1454b39974d319d30023aea6fea5f6
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"
+