From 6d13f309f8544276056c9ff131cc4a8e7466e820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Tue, 23 Aug 2016 12:58:10 -0300 Subject: [PATCH] activate nexus release plugin only during releases --- pom.xml | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index a0de8ec..f1ac2b7 100644 --- a/pom.xml +++ b/pom.xml @@ -260,16 +260,6 @@ @{project.version} - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - sonatype-nexus-staging - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - @@ -441,6 +431,31 @@ + + release + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + + + default-deploy + deploy + + deploy + + + + + sonatype-nexus-staging + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + \ No newline at end of file