From 10f009525f536cc2e38b50578fa7593d207ff612 Mon Sep 17 00:00:00 2001 From: byteskeptical <40208858+byteskeptical@users.noreply.github.com> Date: Sun, 18 Jan 2026 16:28:12 +0000 Subject: [PATCH] ossrh url's were deprecated in 2025, adding source and javadoc requirements for publishing --- pom.xml | 57 ++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 44 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 2e82763..90c3281 100644 --- a/pom.xml +++ b/pom.xml @@ -97,6 +97,38 @@ 3.2.8 + + maven-jar-plugin + + + + true + dependency/ + ${project.groupId}.credcat.SecretsService + + + + org.apache.maven.plugins + 3.4.2 + + + + maven-javadoc-plugin + + false + + + + + jar + + attach-javadocs + + + org.apache.maven.plugins + 3.12.0 + + maven-shade-plugin @@ -142,18 +174,17 @@ - maven-jar-plugin - - - - true - dependency/ - ${project.groupId}.credcat.SecretsService - - - + maven-source-plugin + + + attach-sources + + jar-no-fork + + + org.apache.maven.plugins - 3.4.2 + 3.4.0 @@ -304,11 +335,11 @@ ossrh Central Repository OSSRH - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://central.sonatype.com/repository/maven-snapshots/ ossrh