子模块与主模块的spring-boot-maven-plugin应保持一致,且fork已废弃,应该更换为addResources。

pull/547/head
wangfan 2025-03-24 10:24:24 +08:00
parent 9c9567a5e7
commit 35dfcc79b6
1 changed files with 2 additions and 2 deletions

View File

@ -67,9 +67,9 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.5.15</version>
<version>3.3.0</version>
<configuration>
<fork>true</fork> <!-- 如果没有该配置devtools不会生效 -->
<addResources>true</addResources> <!-- 如果没有该配置devtools不会生效 -->
</configuration>
<executions>
<execution>