From f9bd419b71a6071d8ec5c903b1ea8e79a841b8b1 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Sat, 15 May 2021 12:54:48 +0700 Subject: Only sign + stage artifacts meant to be deployed Even with the 'release' profile, it is not necessary to sign each artifact, because only the ones to be published on Maven Central need signatures. Similarly, make Nexus staging deployment to Sonatype OSSRH dependent on 'maven.deploy.skip' and skip staging for non-public artifacts. Signed-off-by: Alexander Kriegisch --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index 166549658..8e1405f64 100644 --- a/pom.xml +++ b/pom.xml @@ -326,6 +326,10 @@ sign + + + ${maven.deploy.skip} + @@ -355,6 +359,8 @@ ossrh https://oss.sonatype.org/ false + + ${maven.deploy.skip} -- cgit v1.2.3