望山居

真相本来是一体的,太大了,所以大家给他画了格子,结果把自己困了起来

导航

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.

 

posted on 2018-06-27 11:03  穆道  阅读(107)  评论(0编辑  收藏  举报