SpringBoot-mvn插件

在maven projects中有一组springboot的插件

六个选择:

0、build-info:Generate a build-info.properties file based the content of the current MavenProject.

1、help:Display help information on spring-boot-maven-plugin.

2、repackage:Repackages existing JAR and WAR archives so that they can be executed from the command line using java -jar。

3、run:Run an executable archive application.

4、start: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.

5、stop:Stop a spring application that has been started by the 'start' goal. Typically invoked once a test suite has completed.

猜你喜欢

转载自www.cnblogs.com/yourGod/p/9232921.html
mvn