Please refer to XXXXX for the individual test results._zhizhiqiuya
-
错误原因:
项目开发中没有编写测试,打包过程中test检测错误 -
解决方案:
跳过测试单元
- 修改pom文件
<build>
<plugins>
<!-- maven 打包时跳过测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
完成