Skip to content

Commit fe786cf

Browse files
ThomasVitalefmbenhassine
authored andcommitted
Add missing metadata of Spring Boot configuration properties
The Maven compiler is now configured to allow running the Spring Boot Configuration Processor. Furthermore, a dependency to Spring Boot Autoconfigure Processor has been added to the autoconfigure module so that metadata is also generated for the autoconfiguration conditions. Fixes gh-1267 Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
1 parent af799ed commit fe786cf

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@
141141
<artifactId>nullaway</artifactId>
142142
<version>${nullaway.version}</version>
143143
</path>
144+
<path>
145+
<groupId>org.springframework.boot</groupId>
146+
<artifactId>spring-boot-autoconfigure-processor</artifactId>
147+
<version>${spring-boot.version}</version>
148+
</path>
149+
<path>
150+
<groupId>org.springframework.boot</groupId>
151+
<artifactId>spring-boot-configuration-processor</artifactId>
152+
<version>${spring-boot.version}</version>
153+
</path>
144154
</annotationProcessorPaths>
145155
</configuration>
146156
</plugin>

spring-shell-core-autoconfigure/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
<version>${spring-boot.version}</version>
4848
<optional>true</optional>
4949
</dependency>
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-autoconfigure-processor</artifactId>
53+
<version>${spring-boot.version}</version>
54+
<optional>true</optional>
55+
</dependency>
5056

5157
<!-- Optional dependencies -->
5258
<dependency>

0 commit comments

Comments
 (0)