Commit 7a75fb0
committed
Fix test-specific configuration metadata
Most of the config keys defined by the `spring-boot-test-autoconfigure` module can't be overridden because they are mapped with `@PropertyMapping` on an annotation. It is confusing that such keys are exposed in content assistance as using them will have no effect. This commit removes the annotation processor from the build so that the `@ConfigurationProperties` beans aren't processed anymore. Instead, manual metadata is written for the two only keys that are effectively used in regular configuration. As a result, the `additional-spring-configuration-metadata` file has been renamed to `spring-configuration-metadata` since nothing is processing it anymore. Closes spring-projectsgh-78871 parent 973a18d commit 7a75fb0
File tree
3 files changed
+7
-6
lines changed- spring-boot-docs/src/main/asciidoc
- spring-boot-test-autoconfigure
- src/main/resources/META-INF
3 files changed
+7
-6
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
| 1198 | + | |
1198 | 1199 | | |
1199 | 1200 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 124 | | |
131 | 125 | | |
132 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
0 commit comments