Skip to content

Commit 2f49ee3

Browse files
committed
Fix config props generation
The config props metadata file was not being generated. This commit add the `spring-boot-configuration-processor` to the annotation processor paths for the Maven compiler plugin. Signed-off-by: onobc <[email protected]>
1 parent 49c4a45 commit 2f49ee3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,13 @@
438438
<source>${java.version}</source>
439439
<target>${java.version}</target>
440440
<compilerArgument>-parameters</compilerArgument>
441+
<annotationProcessorPaths>
442+
<path>
443+
<groupId>org.springframework.boot</groupId>
444+
<artifactId>spring-boot-configuration-processor</artifactId>
445+
<version>${spring-boot.version}</version>
446+
</path>
447+
</annotationProcessorPaths>
441448
</configuration>
442449
</plugin>
443450
</plugins>
@@ -492,6 +499,11 @@
492499
<artifactId>nullaway</artifactId>
493500
<version>${nullaway.version}</version>
494501
</path>
502+
<path>
503+
<groupId>org.springframework.boot</groupId>
504+
<artifactId>spring-boot-configuration-processor</artifactId>
505+
<version>${spring-boot.version}</version>
506+
</path>
495507
</annotationProcessorPaths>
496508
</configuration>
497509
</plugin>

0 commit comments

Comments
 (0)