From 1aec25b11c99bc760698a0b23403f8b578e467bc Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 29 May 2019 12:04:26 -0700 Subject: [PATCH] Move javadoc plugin to plugins instead of pluginManagement. For some incomprehensible reason, Maven is not using the config for maven-javadoc-plugin when I put it in pluginManagement (it reverts to version 2.7). But it does use the updated config for the maven-compiler-plugin and the maven-resources-plugin. And even more bizarrely, it does use the maven-javadoc-plugin config in plugin for all submodules even though the *whole point* of the pluginManagement section is for config that applies to all submodules. The plugin section *should not* apply to all submodules. Even after all these years, Maven can still surprise me with new failures stemming from its legion of unfortunate design decisions. --- pom.xml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index aec6d18..9e942bf 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,21 @@ aa555c46fc37d0 + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.0 + + true + public + + -Xdoclint:all + -Xdoclint:-missing + -html5 + + + @@ -93,21 +108,6 @@ maven-resources-plugin 3.0.2 - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.1.0 - - true - public - - -Xdoclint:all - -Xdoclint:-missing - -html5 - - -