Skip to content

Commit 01034bb

Browse files
committed
build: configure lombok annotation processor path
1 parent 12c4db9 commit 01034bb

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

‎pom.xml‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<drivers.dir>${project.basedir}/drivers</drivers.dir>
1818
<jetty.version>11.0.26</jetty.version>
1919
<flowingcode.commons.demo.version>5.1.0</flowingcode.commons.demo.version>
20+
<lombok.version>1.18.46</lombok.version>
2021
</properties>
2122

2223
<organization>
@@ -78,7 +79,7 @@
7879
<groupId>org.projectlombok</groupId>
7980
<artifactId>lombok</artifactId>
8081
<scope>provided</scope>
81-
<version>1.18.46</version>
82+
<version>${lombok.version}</version>
8283
</dependency>
8384

8485
<dependency>
@@ -139,6 +140,20 @@
139140
<build>
140141
<pluginManagement>
141142
<plugins>
143+
<plugin>
144+
<groupId>org.apache.maven.plugins</groupId>
145+
<artifactId>maven-compiler-plugin</artifactId>
146+
<version>3.13.0</version>
147+
<configuration>
148+
<annotationProcessorPaths>
149+
<path>
150+
<groupId>org.projectlombok</groupId>
151+
<artifactId>lombok</artifactId>
152+
<version>${lombok.version}</version>
153+
</path>
154+
</annotationProcessorPaths>
155+
</configuration>
156+
</plugin>
142157
<plugin>
143158
<groupId>org.apache.maven.plugins</groupId>
144159
<artifactId>maven-release-plugin</artifactId>

0 commit comments

Comments
 (0)