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

jungm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/main by this push:
     new 1ca23efb62 fix compilation on jdk 25
1ca23efb62 is described below

commit 1ca23efb623d8aef90f2f304b2629a3f45b2f7b8
Author: Markus Jung <[email protected]>
AuthorDate: Tue Oct 28 08:06:13 2025 +0100

    fix compilation on jdk 25
---
 examples/javamail-velocity/pom.xml | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/examples/javamail-velocity/pom.xml 
b/examples/javamail-velocity/pom.xml
index 21e6ab4a2a..2983b6cd54 100644
--- a/examples/javamail-velocity/pom.xml
+++ b/examples/javamail-velocity/pom.xml
@@ -36,6 +36,12 @@
         <configuration>
           <source>1.8</source>
           <target>1.8</target>
+          <annotationProcessorPaths>
+            <path>
+              <groupId>org.projectlombok</groupId>
+              <artifactId>lombok</artifactId>
+            </path>
+          </annotationProcessorPaths>
         </configuration>
       </plugin>
       <plugin>
@@ -53,6 +59,15 @@
       <url>https://repository.apache.org/content/groups/snapshots</url>
     </repository>
   </repositories>
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.projectlombok</groupId>
+        <artifactId>lombok</artifactId>
+        <version>1.18.42</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
   <dependencies>
     <dependency>
       <groupId>org.apache.tomee.bom</groupId>
@@ -63,7 +78,6 @@
     <dependency>
       <groupId>org.projectlombok</groupId>
       <artifactId>lombok</artifactId>
-      <version>1.18.42</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
@@ -137,4 +151,4 @@
       <url>file://${basedir}/target/snapshot-repo/</url>
     </snapshotRepository>
   </distributionManagement>
-</project>
\ No newline at end of file
+</project>

Reply via email to