Skip to content

Commit 85688dc

Browse files
committed
Add Boot processors to module POMs
Adds optional `spring-boot-autoconfigure-processor` dependencies across actuator, core, webflux, and webmvc modules, and adds both configuration and autoconfigure processors in the test module. This ensures annotation processor support for Spring Boot configuration and auto-configuration metadata generation during builds.
1 parent 18030e7 commit 85688dc

5 files changed

Lines changed: 39 additions & 0 deletions

File tree

  • microsphere-spring-boot-actuator
  • microsphere-spring-boot-core
  • microsphere-spring-boot-test
  • microsphere-spring-boot-webflux
  • microsphere-spring-boot-webmvc

microsphere-spring-boot-actuator/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@
6565
<optional>true</optional>
6666
</dependency>
6767

68+
<dependency>
69+
<groupId>org.springframework.boot</groupId>
70+
<artifactId>spring-boot-autoconfigure-processor</artifactId>
71+
<optional>true</optional>
72+
</dependency>
73+
6874
<!-- Testing -->
6975
<dependency>
7076
<groupId>org.junit.jupiter</groupId>

microsphere-spring-boot-core/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@
5151
<optional>true</optional>
5252
</dependency>
5353

54+
<dependency>
55+
<groupId>org.springframework.boot</groupId>
56+
<artifactId>spring-boot-autoconfigure-processor</artifactId>
57+
<optional>true</optional>
58+
</dependency>
59+
5460
<!-- Testing Dependencies -->
5561
<dependency>
5662
<groupId>org.junit.jupiter</groupId>

microsphere-spring-boot-test/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@
3333
<optional>true</optional>
3434
</dependency>
3535

36+
<!-- Spring Boot Configuration Processor -->
37+
<dependency>
38+
<groupId>org.springframework.boot</groupId>
39+
<artifactId>spring-boot-configuration-processor</artifactId>
40+
<optional>true</optional>
41+
</dependency>
42+
43+
<!-- Spring Boot Autoconfigure Processor -->
44+
<dependency>
45+
<groupId>org.springframework.boot</groupId>
46+
<artifactId>spring-boot-autoconfigure-processor</artifactId>
47+
<optional>true</optional>
48+
</dependency>
49+
3650
<!-- Spring Boot Test -->
3751
<dependency>
3852
<groupId>org.springframework.boot</groupId>

microsphere-spring-boot-webflux/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
<optional>true</optional>
5454
</dependency>
5555

56+
<dependency>
57+
<groupId>org.springframework.boot</groupId>
58+
<artifactId>spring-boot-autoconfigure-processor</artifactId>
59+
<optional>true</optional>
60+
</dependency>
61+
5662
<!-- Testing -->
5763
<dependency>
5864
<groupId>org.junit.jupiter</groupId>

microsphere-spring-boot-webmvc/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@
5353
<optional>true</optional>
5454
</dependency>
5555

56+
<!-- Spring Boot Autoconfigure Processor -->
57+
<dependency>
58+
<groupId>org.springframework.boot</groupId>
59+
<artifactId>spring-boot-autoconfigure-processor</artifactId>
60+
<optional>true</optional>
61+
</dependency>
62+
5663
<!-- Testing -->
5764
<dependency>
5865
<groupId>org.junit.jupiter</groupId>

0 commit comments

Comments
 (0)