Please refer to E:SSMDistributededu-parentedu-dao argetsurefire-reports for the individua
Posted 技术很low的瓜贼
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Please refer to E:SSMDistributededu-parentedu-dao argetsurefire-reports for the individua相关的知识,希望对你有一定的参考价值。
问题:在项目install的时候无法通过
提示1:Please refer to E:\\SSM\\Distributed\\edu-parent\\edu-dao\\target\\surefire-reports for the individual test results.
提示2:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project edu-dao: There are test failures.
解决办法:在项目的根目录的pom中加入如下代码:
原因:在提示中可以看出来,在install的时候,单元测试中的问题引发了无法install通过,所以该代码的作用就是让项目install的时候不检查单元测试
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>
以上是关于Please refer to E:SSMDistributededu-parentedu-dao argetsurefire-reports for the individua的主要内容,如果未能解决你的问题,请参考以下文章
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstre
There are test failures.Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.(
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.