提交 2600fe22 编写于 作者: 查尔斯-BUG万象集's avatar 查尔斯-BUG万象集

优化:移除 devtools 依赖

上级 2b4507c3
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册