From 77c2c7f3edc1bf6b70a4ad5556bf6e8ba25c2ea0 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Tue, 9 Jan 2018 10:58:40 +0100 Subject: [PATCH] #486 - Moved JavaDoc generation to ci and distribution profiles. We now refrain from creating any JavaDoc during the standard build run and rather explicitly create it when wither the ci or distribution profiles are active. Generating JavaDoc now follows the delombok step to make sure that the code generated by Lombok appears in JavaDoc. Moved version declaration of the Lombok Maven plugin into plugin managament section, only declare the configuration globally and explicitly declare executions in the aforementioned build profiles. Tie the Lombok Maven plugin version to 1.16.18.1 in preparation of the coming upgrade to Lombok 1.16.20. --- parent/pom.xml | 45 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 450feb25..cad2fba1 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -132,6 +132,21 @@ + + + + org.projectlombok + lombok-maven-plugin + + + generate-sources + + delombok + + + + + org.apache.maven.plugins maven-javadoc-plugin @@ -276,6 +291,21 @@ Configures JavaDoc generation. --> + + + + org.projectlombok + lombok-maven-plugin + + + generate-sources + + delombok + + + + + org.apache.maven.plugins maven-javadoc-plugin @@ -761,6 +791,12 @@ 1.4.1 + + org.projectlombok + lombok-maven-plugin + 1.16.18.1 + + @@ -883,19 +919,10 @@ org.projectlombok lombok-maven-plugin - ${lombok}.0 false ${project.basedir}/src/main/java - - - generate-sources - - delombok - - -