eclipse使用maven打包时去掉测试类

在pom.xml文件中增加如下配置:

<plugin>  
  <groupId>org.apache.maven.plugins</groupId>  
  <artifactId>maven-surefire-plugin</artifactId>   
  <configuration>   
     <skip>true</skip>  
  </configuration>  
</plugin>

 

相关文章:

  • 2021-11-08
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2021-12-08
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
相关资源
相似解决方案