`

Maven:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10

阅读更多
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project testPro: There are test failures.

[ERROR]

[ERROR] Please refer to E:\maven\testPro\target\surefire-reports for the individual test results.


解决方法:

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
                <!--忽略测试异常 -->
                <testFailureIgnore>true</testFailureIgnore>
            </configuration>
        </plugin>
    </plugins>
</build>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics