Java – Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project smrr: There are test failures

javamaven-pluginnetbeans-7

Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test
(default-test) on project smrr: There are test failures.

Please refer to C:\Users\root\Downloads\smrr\target\surefire-reports
for the individual test results.
-> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e
switch. Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please
read the following articles: [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Check Maven network proxy…

====================================

Anyone please solve this problem ?

Best Answer

Maven will try to install this plugin along with dependencies first time in .m2/repository folder, due proxy issues dependencies failing to download. so, Update the Maven project:

Steps:

Right-click on "project" Go to "Maven" >> "Update" Wait for all the changes to be applied Commit the changes (if code is on repo) Run

Also check the artifactid, groupid, version of plugins along with dependencies.

Related Topic