Skip to content

Commit d87fcd4

Browse files
erichaagdevodrotbohm
authored andcommitted
GH-279 - Add annotation processors for compiler avoidance.
1 parent ebb43ac commit d87fcd4

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,18 @@ limitations under the License.
483483
<source>17</source>
484484
<target>17</target>
485485
<parameters>true</parameters>
486+
<annotationProcessorPaths>
487+
<path>
488+
<groupId>org.springframework.boot</groupId>
489+
<artifactId>spring-boot-configuration-processor</artifactId>
490+
<version>${spring-boot.version}</version>
491+
</path>
492+
<path>
493+
<groupId>org.projectlombok</groupId>
494+
<artifactId>lombok</artifactId>
495+
<version>1.18.28</version>
496+
</path>
497+
</annotationProcessorPaths>
486498
</configuration>
487499
</plugin>
488500

spring-modulith-examples/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,28 @@
2727

2828
<build>
2929
<defaultGoal>verify</defaultGoal>
30+
31+
<plugins>
32+
<plugin>
33+
<groupId>org.apache.maven.plugins</groupId>
34+
<artifactId>maven-compiler-plugin</artifactId>
35+
<version>3.11.0</version>
36+
<configuration>
37+
<annotationProcessorPaths>
38+
<path>
39+
<groupId>org.springframework.boot</groupId>
40+
<artifactId>spring-boot-configuration-processor</artifactId>
41+
<version>3.1.2</version>
42+
</path>
43+
<path>
44+
<groupId>org.projectlombok</groupId>
45+
<artifactId>lombok</artifactId>
46+
<version>1.18.28</version>
47+
</path>
48+
</annotationProcessorPaths>
49+
</configuration>
50+
</plugin>
51+
</plugins>
3052
</build>
3153

3254
<dependencyManagement>

0 commit comments

Comments
 (0)