diff --git a/continew-admin-webapi/pom.xml b/continew-admin-webapi/pom.xml index 56e2bce8..7d354e3a 100644 --- a/continew-admin-webapi/pom.xml +++ b/continew-admin-webapi/pom.xml @@ -67,6 +67,7 @@ limitations under the License. <excludedGroups>exclude</excludedGroups> </configuration> </plugin> + <!-- Spring Boot 打包插件(将 Spring Boot Maven 应用打包为可执行的 jar 包) --> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> @@ -78,7 +79,7 @@ limitations under the License. </execution> </executions> <configuration> - <!-- 如果没有该项配置,devtools 不会生效,应用不会自动重启 --> + <!-- 在新的 JVM 进程中运行打包任务(另注:在使用 devtools 时,如果没有该项配置,热部署可能会失效) --> <fork>true</fork> <excludes> <exclude> diff --git a/pom.xml b/pom.xml index 7a976342..1ee99756 100644 --- a/pom.xml +++ b/pom.xml @@ -217,13 +217,6 @@ limitations under the License. </dependencyManagement> <dependencies> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-devtools</artifactId> - <scope>runtime</scope> - <optional>true</optional> - </dependency> - <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId>