报错描述:
Please refer to D:\code\java\project_test\usercenter\usercenter_backend\target\surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
原因:
maven在默认打包时会执行一下所有的单元测试
解决:
或者在 pom.xml 中添加如下配置
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>