snuyanzin commented on code in PR #27010:
URL: https://github.com/apache/flink/pull/27010#discussion_r2379664105


##########
flink-core/pom.xml:
##########
@@ -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>

Review Comment:
   the reason was mentioned at https://inside.java/2024/06/18/quality-heads-up/
   
   so now either use `proc:full` or explicitly put path to annotation processors
   
   here picked the second option according to what was mentioned multiple times 
in lombok's github
   https://github.com/projectlombok/lombok/issues/3772 
   
   finally it fixes 
   ```
   [ERROR] COMPILATION ERROR : 
   [INFO] -------------------------------------------------------------
   [ERROR] 
flink/flink-core/src/test/java/org/apache/flink/core/fs/InitOutputPathTest.java:[303,37]
 unreported exception java.lang.InterruptedException; must be caught or 
declared to be thrown
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to