Skip to content

Commit

Permalink
Make the maven compiler plug-in use Lombok as annotation processor (f…
Browse files Browse the repository at this point in the history
…ixes many compile warnings)
  • Loading branch information
jkosternl committed Sep 20, 2024
1 parent cb43598 commit d3e282a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

<log4j.version>2.20.0</log4j.version>
<junit.version>5.11.0</junit.version>
<lombok.version>1.18.34</lombok.version>

<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>dcsaorg</sonar.organization>
Expand Down Expand Up @@ -123,7 +124,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.34</version>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>

Expand Down Expand Up @@ -154,6 +155,13 @@
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<release>${maven.compiler.release}</release>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit d3e282a

Please sign in to comment.