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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5fa0036d9e9 [FLINK-38390][table] Compiliation of flink-core and 
flink-table-planner fails because of annotation processors
5fa0036d9e9 is described below

commit 5fa0036d9e9787aa4d39cc37cec1780d77aadd3a
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Tue Sep 30 20:30:06 2025 +0200

    [FLINK-38390][table] Compiliation of flink-core and flink-table-planner 
fails because of annotation processors
---
 flink-core/pom.xml                      | 16 +++++++++++++++-
 flink-table/flink-table-planner/pom.xml | 19 +++++++++++++++++--
 2 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/flink-core/pom.xml b/flink-core/pom.xml
index 87d1262179a..3b07a7496a9 100644
--- a/flink-core/pom.xml
+++ b/flink-core/pom.xml
@@ -56,6 +56,7 @@ under the License.
                        
-->--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED <!--
                        -->--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
                </surefire.module.config>
+               <lombok.version>1.18.42</lombok.version>
        </properties>
 
        <dependencies>
@@ -169,7 +170,7 @@ under the License.
                <dependency>
                        <groupId>org.projectlombok</groupId>
                        <artifactId>lombok</artifactId>
-                       <version>1.18.42</version>
+                       <version>${lombok.version}</version>
                        <scope>test</scope>
                </dependency>
 
@@ -192,6 +193,19 @@ under the License.
                                </configuration>
                        </plugin>
 
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <configuration>
+                                       <annotationProcessorPaths>
+                                               <path>
+                                                       
<groupId>org.projectlombok</groupId>
+                                                       
<artifactId>lombok</artifactId>
+                                                       
<version>${lombok.version}</version>
+                                               </path>
+                                       </annotationProcessorPaths>
+                               </configuration>
+                       </plugin>
                        <!-- publish some test base classes -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
diff --git a/flink-table/flink-table-planner/pom.xml 
b/flink-table/flink-table-planner/pom.xml
index 0f056713e7c..40a487d1e70 100644
--- a/flink-table/flink-table-planner/pom.xml
+++ b/flink-table/flink-table-planner/pom.xml
@@ -56,6 +56,7 @@ under the License.
                        
https://junit.org/junit5/docs/current/user-guide/#extensions-supported-utilities-search-semantics
                        
-->-Djunit.platform.reflection.search.useLegacySemantics=true
                </surefire.module.config>
+               <immutables.version>2.11.3</immutables.version>
        </properties>
 
        <dependencies>
@@ -74,12 +75,12 @@ under the License.
                <dependency>
                        <groupId>org.immutables</groupId>
                        <artifactId>value</artifactId>
-                       <version>2.8.8</version>
+                       <version>${immutables.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.immutables</groupId>
                        <artifactId>value-annotations</artifactId>
-                       <version>2.8.8</version>
+                       <version>${immutables.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.commons</groupId>
@@ -308,6 +309,20 @@ under the License.
                                </executions>
                        </plugin>
 
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <configuration>
+                                       <annotationProcessorPaths>
+                                               <path>
+                                                       
<groupId>org.immutables</groupId>
+                                                       
<artifactId>value</artifactId>
+                                                       
<version>${immutables.version}</version>
+                                               </path>
+                                       </annotationProcessorPaths>
+                               </configuration>
+                       </plugin>
+
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-shade-plugin</artifactId>

Reply via email to