简体   繁体   中英

Issue is using test maven, this error is displayed Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)

When I am trying to test or install my pom.xml I received this error message:

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)

I want to specify that nothing really helped Mvn clean, Update project, Clean or anything else that I can do related to maven, can anyone help me with others ideas that really can help solve the issue ?

Thanks

Let me know if following info helps you or not !

  • Try latest stable version of surefire-plugin (2.22.2)
  • Other option might be memory Management
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.21.0</version> <configuration> <testFailureIgnore>true</testFailureIgnore> <reuseForks>true</reuseForks> <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> </configuration> </plugin>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM