springboot 打jar包

╰半夏微凉° 2022-12-05 05:10 339阅读 0赞

记录一下。

springboot 打jar包第一步

1、maven打包依赖

  1. <build>
  2. <plugins>
  3. <plugin>
  4. <groupId>org.springframework.boot</groupId>
  5. <artifactId>spring-boot-maven-plugin</artifactId>
  6. <configuration>
  7. <includeSystemScope>true</includeSystemScope>
  8. </configuration>
  9. </plugin>
  10. </plugins>
  11. </build>

2、maven打包命令

mvn clean install -DMaven.test.skip=true

发表评论

表情:
评论列表 (有 0 条评论,339人围观)

还没有评论,来说两句吧...

相关阅读