From b386c73c43037d2f51b713690ae7f293d2cd6f45 Mon Sep 17 00:00:00 2001 From: Jisi Liu Date: Tue, 3 Mar 2015 16:27:10 -0800 Subject: [PATCH] Add a release profile for Java mvn project, which includes source file, javadoc packaging and signing. Change-Id: I70632f01274b70e6f48dae5f4be15f123eb19a46 --- java/pom.xml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/java/pom.xml b/java/pom.xml index 75d4c7f6e3..d40956641a 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -159,6 +159,64 @@ + + release + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + sonatype-nexus-staging + https://oss.sonatype.org/ + false + + + + + lite