spring-boot:run和spring-boot:start有什么区别?
我认为它们都可以作为Maven goals使用。
但有什么区别呢?
发布于 2016-08-24 19:55:39
spring-boot:run
Description: 运行可执行存档应用程序。
spring-boot:start
Description: 启动一个spring应用程序。与运行目标相反,这不会阻止并允许其他目标对应用程序进行操作。这个目标通常用于集成测试场景,其中应用程序在测试套件之前启动,然后停止。
信息就在这里:
http://docs.spring.io/spring-boot/docs/current/maven-plugin/index.html
发布于 2016-08-24 19:54:46
来自文档
spring-boot:run运行Spring应用程序。 spring-boot:start ..启动一个spring应用程序。与运行目标相反,这不会阻止并允许其他目标对应用程序进行操作。这个目标通常用于集成测试场景,其中应用程序在测试套件之前启动,然后停止。
https://stackoverflow.com/questions/39131955
复制相似问题