From a1c46a02e96da2a65a07719439c8acd7a73450d1 Mon Sep 17 00:00:00 2001 From: mariocairone Date: Sat, 14 Sep 2019 18:44:22 +0100 Subject: [PATCH] Moved deployment configuration to maven release profile --- pom.xml | 119 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 64 insertions(+), 55 deletions(-) diff --git a/pom.xml b/pom.xml index 4b841fc..eec0122 100644 --- a/pom.xml +++ b/pom.xml @@ -48,62 +48,71 @@ - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - - - 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.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ossrh - https://oss.sonatype.org/ - true - - - - + + + release + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + ${gpg.executable} + ${gpg.passphrase} + + + + sign-artifacts + verify + + sign + + + + + + 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.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + + ossrh