打包可执行文件

This commit is contained in:
wangw 2025-02-10 17:59:18 +08:00
parent 6e8b2558bf
commit 7e2aafe5a7
1 changed files with 20 additions and 0 deletions

View File

@ -48,4 +48,24 @@
</dependency>
</dependencies>
<build>
<plugins>
<!-- spring boot 打包插件 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
<!-- <includeSystemScope>true</includeSystemScope>-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</project>