From 6f96c7cacec7d130d9765289d42da5ae80a7d4b2 Mon Sep 17 00:00:00 2001 From: Juraj Noge Date: Wed, 29 Jul 2026 13:54:16 +0200 Subject: [PATCH] Attach sources/javadoc/signatures on deploy; trim reactor to published modules Maven Central rejected the 3.0.1-pb.1 bundle: no sources jars, javadoc jars, or GPG signatures were attached. The Atlassian central-pom parent only wires those under its release profile (activated by `mvn release:perform`), so a plain `mvn clean deploy` produced none of them. Declare maven-source-plugin, maven-javadoc-plugin (doclint off), and maven-gpg-plugin (sign bound to verify) directly in the build so every deploy attaches all three. Also trim to core + spring-webmvc (the only modules pb-universe consumes), dropping pact/wiremock/restassured/mockmvc/ spring-web-client/ktor-client/examples from the public release. Co-Authored-By: Claude Opus 4.8 (1M context) --- pom.xml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 52 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index ba886c15..58101ff2 100644 --- a/pom.xml +++ b/pom.xml @@ -95,16 +95,12 @@ 3.2.8 + openapi-request-validator-core - openapi-request-validator-pact - openapi-request-validator-wiremock-junit5 - openapi-request-validator-restassured - openapi-request-validator-mockmvc openapi-request-validator-spring-webmvc - openapi-request-validator-spring-web-client - openapi-request-validator-ktor-client - openapi-request-validator-examples + + org.apache.maven.plugins + maven-source-plugin + 3.3.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven.javadoc.plugin.version} + + + attach-javadocs + + jar + + + + + + none + false + true + + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + +