Skip to content

Commit 87c5cf2

Browse files
committed
chore(pom): update lombok version to use property and add maven-compiler-plugin configuration
1 parent 4f389ea commit 87c5cf2

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<dependency>
8888
<groupId>org.projectlombok</groupId>
8989
<artifactId>lombok</artifactId>
90-
<version>1.18.42</version>
90+
<version>${lombok.version}</version>
9191
<scope>provided</scope>
9292
</dependency>
9393
<dependency>
@@ -150,6 +150,20 @@
150150
</resources>
151151

152152
<plugins>
153+
<plugin>
154+
<groupId>org.apache.maven.plugins</groupId>
155+
<artifactId>maven-compiler-plugin</artifactId>
156+
<configuration>
157+
<annotationProcessorPaths>
158+
<path>
159+
<groupId>org.projectlombok</groupId>
160+
<artifactId>lombok</artifactId>
161+
<version>${lombok.version}</version>
162+
</path>
163+
</annotationProcessorPaths>
164+
</configuration>
165+
</plugin>
166+
153167
<plugin>
154168
<groupId>org.codehaus.mojo</groupId>
155169
<artifactId>build-helper-maven-plugin</artifactId>

0 commit comments

Comments
 (0)