簡體   English   中英

spring-boot:run和spring-boot:start之間的區別是什么

[英]What's the difference between spring-boot:run and spring-boot:start

spring-boot:runspring-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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM