From 94db54c06a78f2f3a43964c42a156e60183ef454 Mon Sep 17 00:00:00 2001 From: Niko Dziemba Date: Wed, 13 Apr 2022 15:51:13 +0200 Subject: [PATCH] Fix javadoc generation - Specify javadoc target release to fix java version mismatch errors - Remove lots of workarounds that are no longer needed - Run javadoc in all profiles to catch errors during PR testing, not just before publishing a release --- pom.xml | 42 ++++++++++++++++-------------------------- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/pom.xml b/pom.xml index 83dbe991..a3de8363 100644 --- a/pom.xml +++ b/pom.xml @@ -370,32 +370,6 @@ - - org.apache.maven.plugins - maven-javadoc-plugin - 3.2.0 - - - attach-javadocs - - jar - - - - - ${project.build.sourceDirectory}:${project.build.directory}/generated-sources/annotations - - - javax.annotation - javax.annotation-api - 1.3.2 - - - - none - - - org.sonatype.plugins nexus-staging-maven-plugin @@ -529,6 +503,22 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + 11 + none + +