springboot 打包项目时报错Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test

深藏阁楼爱情的钟 2022-04-15 04:11 255阅读 0赞

报错:
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test

pom 文件

  1. <plugin>
  2. <groupId>org.apache.maven.plugins</groupId>
  3. <artifactId>maven-surefire-plugin</artifactId>
  4. <version>2.4.2</version>
  5. <configuration>
  6. <skipTests>true</skipTests>
  7. </configuration>
  8. </plugin>

执行

  1. mvn clean package -Dmaven.test.skip=true

发表评论

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

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

相关阅读