spring-boot:run
和 spring-boot:start
有什么区别?
我看到它们都可以用作 Maven 目标。
但是有什么区别呢?
最佳答案
spring-boot:run
Description:
Run an executable archive application.
spring-boot:start
Description:
Start a spring application. Contrary to the run goal, this does not block and allows other goal to operate on the application. This goal is typically used in integration test scenario where the application is started before a test suite and stopped after.
信息就在这里:
http://docs.spring.io/spring-boot/docs/current/maven-plugin/index.html
关于java - spring-boot :run and spring-boot:start有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39131955/