方法一:

通过idea 工具实现,点击右上角闪电图标, 看到test被划掉, 再打包就会跳过test测试.

maven项目打包跳过test验证

方法二:

spring-boot-maven-plugin插件已经集成了maven-surefire-plugin插件

在pom.xml添加配置

maven项目打包跳过test验证

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-01-23
  • 2022-12-23
  • 2021-07-13
相关资源
相似解决方案