From 661a8bac881003c728ec534daf9e8831581f0657 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Tue, 9 Jan 2018 10:58:40 +0100 Subject: [PATCH] #488 - 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, 45 insertions(+) diff --git a/parent/pom.xml b/parent/pom.xml index b68c8a8c..8d63b8c9 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -126,6 +126,21 @@ + + + + org.projectlombok + lombok-maven-plugin + + + generate-sources + + delombok + + + + + org.apache.maven.plugins maven-javadoc-plugin @@ -270,6 +285,21 @@ Configures JavaDoc generation. --> + + + + org.projectlombok + lombok-maven-plugin + + + generate-sources + + delombok + + + + + org.apache.maven.plugins maven-javadoc-plugin @@ -800,6 +830,12 @@ 1.3.1 + + org.projectlombok + lombok-maven-plugin + 1.16.18.1 + + @@ -871,6 +907,15 @@ + + org.projectlombok + lombok-maven-plugin + + false + ${project.basedir}/src/main/java + + + org.apache.maven.plugins maven-javadoc-plugin