From cd1c1bd4afdc997122c54afaba59831e3ce769a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Contreras=20Guill=C3=A9n?= Date: Wed, 11 Feb 2026 12:24:39 +0100 Subject: [PATCH] feat: add Maven Central publishing profile with GPG signing Add maven-gpg-plugin (3.2.7) and central-publishing-maven-plugin (0.7.0) version properties. Add maven-central profile that enables GPG artifact signing and Sonatype Central Portal publishing when activated via -P maven-central. --- pom.xml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/pom.xml b/pom.xml index bbbb4e6..b576713 100644 --- a/pom.xml +++ b/pom.xml @@ -108,6 +108,8 @@ 3.4.0 3.12.0 3.6.2 + 3.2.7 + 0.7.0 @@ -428,5 +430,44 @@ + + maven-central + + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + org.sonatype.central + central-publishing-maven-plugin + ${central-publishing-maven-plugin.version} + true + + central + true + published + required + + + + +