Skip to content

Commit d67fe4e

Browse files
committed
build: configure lombok annotation processor path
1 parent d7c8d37 commit d67fe4e

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
<jetty.version>9.4.36.v20210114</jetty.version>
1818
<drivers.dir>${project.basedir}/drivers</drivers.dir>
1919
<flowingcode.commons.demo.version>3.10.0</flowingcode.commons.demo.version>
20+
<lombok.version>1.18.46</lombok.version>
2021
</properties>
2122

2223
<organization>
@@ -176,14 +177,28 @@
176177
<dependency>
177178
<groupId>org.projectlombok</groupId>
178179
<artifactId>lombok</artifactId>
179-
<version>1.18.46</version>
180+
<version>${lombok.version}</version>
180181
<scope>provided</scope>
181182
</dependency>
182183
</dependencies>
183184

184185
<build>
185186
<pluginManagement>
186187
<plugins>
188+
<plugin>
189+
<groupId>org.apache.maven.plugins</groupId>
190+
<artifactId>maven-compiler-plugin</artifactId>
191+
<version>3.13.0</version>
192+
<configuration>
193+
<annotationProcessorPaths>
194+
<path>
195+
<groupId>org.projectlombok</groupId>
196+
<artifactId>lombok</artifactId>
197+
<version>${lombok.version}</version>
198+
</path>
199+
</annotationProcessorPaths>
200+
</configuration>
201+
</plugin>
187202
<plugin>
188203
<groupId>org.apache.maven.plugins</groupId>
189204
<artifactId>maven-release-plugin</artifactId>

0 commit comments

Comments
 (0)