From b592e7bca887d5bc80348ab6416b1067717c9926 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 3 Jul 2025 13:06:16 -0700 Subject: [PATCH] Release fixes. - Nix attempts to link to ancient, no longer in existence, Oracle hosted Javadocs. - Manually include code to attach javadocs and source jars during release, because we no longer get that from the OSS parent pom. We can't use the OSS parent pom because it redirects release stuff to the ossrh Maven Central servers that no longer exist. Would be nice if they made and published a new OSS parent pom. Shrug. --- pom.xml | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index d7461b2c..881aed46 100644 --- a/pom.xml +++ b/pom.xml @@ -161,10 +161,6 @@ true public -Xdoclint:all -Xdoclint:-missing - - http://java.sun.com/products/javamail/javadocs/ - http://download.oracle.com/javaee/1.2.1/api/ - @@ -248,12 +244,38 @@ - release-sign-artifacts + release-extras performReleasetrue + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + org.apache.maven.plugins maven-gpg-plugin @@ -291,6 +313,5 @@ -