Skip to content

Commit fc5f815

Browse files
committed
Update Maven configuration: replace Lombok plugin with Compiler plugin
- Removed Lombok Maven plugin configuration. - Added Maven Compiler plugin with version 3.13.0. - Set Java release version to 21 and updated Lombok dependency to 1.18.42.
1 parent f5ae702 commit fc5f815

1 file changed

Lines changed: 13 additions & 17 deletions

File tree

SimpleAPI/pom.xml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,19 @@
4949
</pluginManagement>
5050
<plugins>
5151
<plugin>
52-
<groupId>org.projectlombok</groupId>
53-
<artifactId>lombok-maven-plugin</artifactId>
54-
<version>1.18.32.0</version>
55-
<executions>
56-
<execution>
57-
<id>delombok</id>
58-
<phase>deploy</phase>
59-
<goals>
60-
<goal>delombok</goal>
61-
</goals>
62-
<configuration>
63-
<addOutputDirectory>false</addOutputDirectory>
64-
<outputDirectory>${project.basedir}/target/delombok</outputDirectory>
65-
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
66-
</configuration>
67-
</execution>
68-
</executions>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-compiler-plugin</artifactId>
54+
<version>3.13.0</version>
55+
<configuration>
56+
<release>21</release>
57+
<annotationProcessorPaths>
58+
<path>
59+
<groupId>org.projectlombok</groupId>
60+
<artifactId>lombok</artifactId>
61+
<version>1.18.42</version>
62+
</path>
63+
</annotationProcessorPaths>
64+
</configuration>
6965
</plugin>
7066
<plugin>
7167
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)