From 569c9e1fac4c88a1882d9faef6ef0f1044decedd Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Wed, 25 Jun 2025 10:56:42 +0300 Subject: [PATCH] Fix release - javadoc packaging (#2497) Signed-off-by: Avgustin Marinov --- .github/workflows/release.yml | 2 +- pom.xml | 33 ++++++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40aafc5e3..c86b36c02 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,7 +92,7 @@ jobs: GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }} - name: Run build javadoc, verify (test) - run: mvn verify javadoc:jar -Dadditionalparam=-Xdoclint:none -Drevision=${REVISION} --batch-mode + run: mvn verify javadoc:jar -Drevision=${REVISION} --batch-mode env: REVISION: ${{ github.event.inputs.revision }} diff --git a/pom.xml b/pom.xml index 80be1d6c2..05ce96560 100644 --- a/pom.xml +++ b/pom.xml @@ -633,16 +633,19 @@ + - org.sonatype.central - central-publishing-maven-plugin - ${central.publishing.maven.plugin.version} - true - - central - true - published - + org.apache.maven.plugins + maven-javadoc-plugin + + + javadoc-jar + package + + jar + + + org.apache.maven.plugins @@ -658,6 +661,18 @@ + + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} + true + + central + true + published + true + +