Skip to content

Commit e572066

Browse files
committed
build: configure lombok annotation processor path
1 parent cc411f9 commit e572066

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
@@ -20,6 +20,7 @@
2020
<jetty.version>11.0.26</jetty.version>
2121
<flowingcode.commons.demo.version>5.2.0</flowingcode.commons.demo.version>
2222
<frontend.hotdeploy>true</frontend.hotdeploy>
23+
<lombok.version>1.18.46</lombok.version>
2324
</properties>
2425

2526
<organization>
@@ -116,7 +117,7 @@
116117
<dependency>
117118
<groupId>org.projectlombok</groupId>
118119
<artifactId>lombok</artifactId>
119-
<version>1.18.46</version>
120+
<version>${lombok.version}</version>
120121
<scope>provided</scope>
121122
</dependency>
122123
<dependency>
@@ -164,6 +165,20 @@
164165
<defaultGoal>jetty:run</defaultGoal>
165166
<pluginManagement>
166167
<plugins>
168+
<plugin>
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-compiler-plugin</artifactId>
171+
<version>3.13.0</version>
172+
<configuration>
173+
<annotationProcessorPaths>
174+
<path>
175+
<groupId>org.projectlombok</groupId>
176+
<artifactId>lombok</artifactId>
177+
<version>${lombok.version}</version>
178+
</path>
179+
</annotationProcessorPaths>
180+
</configuration>
181+
</plugin>
167182
<plugin>
168183
<groupId>org.apache.maven.plugins</groupId>
169184
<artifactId>maven-release-plugin</artifactId>

0 commit comments

Comments
 (0)