springboot+maven+打包

<!--    这个插件,可以将应用打包成一个可执行的jar包-->
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.liang.HelloWordMainApplication</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

</build>
posted @ 2022-06-16 14:21  程序员亮亮丫!!  阅读(51)  评论(0编辑  收藏  举报