Apply delombok to sources, generate javadocs from delombok sources

This commit is contained in:
Byteflux 2019-03-17 18:57:17 -07:00 committed by Shane Freeder
parent aec375c836
commit 6a9800938d

View File

@ -1,4 +1,4 @@
From cd99027f638fc0db380f0635fd44471e9411fb62 Mon Sep 17 00:00:00 2001 From 18df497277d05192ca2a1eb8e242411d45b4779c Mon Sep 17 00:00:00 2001
From: Tux <write@imaginarycode.com> From: Tux <write@imaginarycode.com>
Date: Thu, 19 May 2016 19:33:31 +0200 Date: Thu, 19 May 2016 19:33:31 +0200
Subject: [PATCH] POM Changes Subject: [PATCH] POM Changes
@ -483,7 +483,7 @@ index 15c0ada2..7073b404 100644
<dependencies> <dependencies>
<dependency> <dependency>
diff --git a/pom.xml b/pom.xml diff --git a/pom.xml b/pom.xml
index 4f8786a5..5eab8750 100644 index 4f8786a5..697aa136 100644
--- a/pom.xml --- a/pom.xml
+++ b/pom.xml +++ b/pom.xml
@@ -3,18 +3,25 @@ @@ -3,18 +3,25 @@
@ -617,7 +617,7 @@ index 4f8786a5..5eab8750 100644
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@@ -171,4 +184,49 @@ @@ -171,4 +184,68 @@
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
@ -628,6 +628,24 @@ index 4f8786a5..5eab8750 100644
+ <build> + <build>
+ <plugins> + <plugins>
+ <plugin> + <plugin>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok-maven-plugin</artifactId>
+ <version>1.18.4.0</version>
+ <executions>
+ <execution>
+ <id>delombok</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>delombok</goal>
+ </goals>
+ <configuration>
+ <addOutputDirectory>false</addOutputDirectory>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId> + <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId> + <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.7</version> + <version>2.7</version>
@ -639,6 +657,7 @@ index 4f8786a5..5eab8750 100644
+ <goal>jar</goal> + <goal>jar</goal>
+ </goals> + </goals>
+ <configuration> + <configuration>
+ <sourcepath>target/generated-sources/delombok</sourcepath>
+ <additionalparam>-Xdoclint:none</additionalparam> + <additionalparam>-Xdoclint:none</additionalparam>
+ </configuration> + </configuration>
+ </execution> + </execution>
@ -821,5 +840,5 @@ index fdd44b20..4ae682ee 100644
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
-- --
2.20.1 2.21.0.windows.1