You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xtable.apache.org by vi...@apache.org on 2026/07/22 00:33:01 UTC

(incubator-xtable) branch branch-0.4 updated: [bug] Restore lombok-maven-plugin delombok execution for javadoc generation (#853)

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

vinishjail97 pushed a commit to branch branch-0.4
in repository https://gitbox.apache.org/repos/asf/incubator-xtable.git


The following commit(s) were added to refs/heads/branch-0.4 by this push:
     new 88115f53 [bug] Restore lombok-maven-plugin delombok execution for javadoc generation (#853)
88115f53 is described below

commit 88115f534ccc01a29762bb2559728c6e78c60a25
Author: Vinish Reddy <vi...@gmail.com>
AuthorDate: Wed Jul 22 06:02:56 2026 +0530

    [bug] Restore lombok-maven-plugin delombok execution for javadoc generation (#853)
    
    #728 accidentally removed the lombok-maven-plugin/delombok build execution.
    The maven-javadoc-plugin (release profile) sources from ${delombok.output.dir},
    so without delombok that dir is empty and no -javadoc.jar is produced — a
    regression from 0.3.0. Restore the plugin (as in 0.3.0) so release builds
    generate javadoc jars again.
---
 pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/pom.xml b/pom.xml
index 3478a7aa..f33e5b01 100644
--- a/pom.xml
+++ b/pom.xml
@@ -714,6 +714,25 @@
                 </annotationProcessorPaths>
             </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.projectlombok</groupId>
+                <artifactId>lombok-maven-plugin</artifactId>
+                <version>${lombok-maven-plugin.version}</version>
+                <configuration>
+                    <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
+                    <addOutputDirectory>false</addOutputDirectory>
+                    <outputDirectory>${delombok.output.dir}</outputDirectory>
+                    <encoding>UTF-8</encoding>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>delombok</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-enforcer-plugin</artifactId>