[英]Start JavaFX Spring project with 'mvn spring-boot:run'
[英]What's the difference between spring-boot:run and spring-boot:start
spring-boot:run
和spring-boot:start
之間有什么區別?
我看到他們都可以作為Maven的目標 。
但有什么區別?
春季啟動:運行
說明 :
運行可執行歸檔應用程序。
春季啟動:啟動
說明 :
啟動彈簧應用程序。 與運行目標相反,這不會阻止並允許其他目標在應用程序上運行。 此目標通常用於集成測試場景,其中應用程序在測試套件之前啟動並在之后停止。
信息就在這里:
http://docs.spring.io/spring-boot/docs/current/maven-plugin/index.html
從文檔 :
spring-boot:run運行Spring Boot應用程序。
spring-boot:start [..]啟動spring應用程序。 與運行目標相反,這不會阻止並允許其他目標在應用程序上運行。 此目標通常用於集成測試場景,其中應用程序在測試套件之前啟動並在之后停止。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.