From 8f5b88c394fa1e2a0dfe900a95d540516ffd1059 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 7 May 2015 17:17:41 +0100 Subject: [PATCH] Ensure that javadoc is generated in a full build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For reasons that I don’t understand, Maven has decided to stop running the javadoc:jar task as part of the package phase. It appears to be related to the addition of the build-helper plugin in spring-boot-dependencies. Binding javadoc:jar to the prepare-package phase convinces Maven to run it, apparently without any unwanted side effects. --- spring-boot-docs/pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-docs/pom.xml b/spring-boot-docs/pom.xml index 36d4a5ccb2..f028413890 100644 --- a/spring-boot-docs/pom.xml +++ b/spring-boot-docs/pom.xml @@ -335,6 +335,7 @@ jar + prepare-package true @@ -383,7 +384,7 @@ - copy-versions-effective-pom + copy-dependencies-effective-pom generate-resources copy