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

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


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

commit 83e8c1eb834623a616078ccea447986820df95c5
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 87137d2f59b..b0f06d70c3e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -282,6 +282,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>
@@ -1843,8 +1844,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