Skip to content

Commit 0ecc3a6

Browse files
committed
fix compilation on jdk 25
1 parent 6e0144a commit 0ecc3a6

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

tomee/apache-tomee/pom.xml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@
4040
<jdk.attach.allowAttachSelf>true</jdk.attach.allowAttachSelf>
4141
</properties>
4242

43+
<dependencyManagement>
44+
<dependencies>
45+
<dependency>
46+
<groupId>org.projectlombok</groupId>
47+
<artifactId>lombok</artifactId>
48+
<version>1.18.42</version>
49+
</dependency>
50+
</dependencies>
51+
</dependencyManagement>
52+
4353
<dependencies>
4454
<dependency>
4555
<groupId>org.codehaus.groovy</groupId>
@@ -158,7 +168,6 @@
158168
<dependency>
159169
<groupId>org.projectlombok</groupId>
160170
<artifactId>lombok</artifactId>
161-
<version>1.18.42</version>
162171
<scope>test</scope>
163172
</dependency>
164173
</dependencies>
@@ -180,6 +189,22 @@
180189
<filtering>true</filtering>
181190
</testResource>
182191
</testResources>
192+
193+
<plugins>
194+
<plugin>
195+
<groupId>org.apache.maven.plugins</groupId>
196+
<artifactId>maven-compiler-plugin</artifactId>
197+
<version>3.14.1</version>
198+
<configuration>
199+
<annotationProcessorPaths>
200+
<path>
201+
<groupId>org.projectlombok</groupId>
202+
<artifactId>lombok</artifactId>
203+
</path>
204+
</annotationProcessorPaths>
205+
</configuration>
206+
</plugin>
207+
</plugins>
183208
</build>
184209

185210
<profiles>

0 commit comments

Comments
 (0)