This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 705f5fdc64c [improve][build] Add lombok plugin to solve Javadoc issue. 
(#18520)
705f5fdc64c is described below

commit 705f5fdc64c4de2eadf38acd6e77353d6978da06
Author: Jiwei Guo <[email protected]>
AuthorDate: Fri Nov 18 11:46:37 2022 +0800

    [improve][build] Add lombok plugin to solve Javadoc issue. (#18520)
---
 pom.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/pom.xml b/pom.xml
index 87b3b275e0d..82cf6954490 100644
--- a/pom.xml
+++ b/pom.xml
@@ -284,6 +284,7 @@ flexible messaging model and an intuitive client 
API.</description>
     <dependency-check-maven.version>7.1.0</dependency-check-maven.version>
     <roaringbitmap.version>0.9.15</roaringbitmap.version>
     <extra-enforcer-rules.version>1.6.1</extra-enforcer-rules.version>
+    <lombok.plugin.version>1.18.20.0</lombok.plugin.version>
 
     <!-- Used to configure rename.netty.native. Libs -->
     
<rename.netty.native.libs>rename-netty-native-libs.sh</rename.netty.native.libs>
@@ -1818,8 +1819,22 @@ flexible messaging model and an intuitive client 
API.</description>
           <configuration>
             <doclint>none</doclint>
             <notimestamp>true</notimestamp>
+            
<sourcepath>${project.build.directory}/generated-sources/delombok</sourcepath>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.projectlombok</groupId>
+          <artifactId>lombok-maven-plugin</artifactId>
+          <version>${lombok.plugin.version}</version>
+          <executions>
+            <execution>
+              <phase>generate-sources</phase>
+              <goals>
+                <goal>delombok</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
         <plugin>
           <artifactId>maven-antrun-plugin</artifactId>
           <version>${maven-antrun-plugin.version}</version>

Reply via email to