0

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

Regolith
  • 2,944
  • 9
  • 33
  • 50
  • 2
    Can you please post the full error output and how you called Maven? – khmarbaise Jun 16 '19 at 10:30
  • I am using Run As -> Maven install/test Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] BUILD FAILURE [INFO] Total time: 01:14 min [INFO] Finished at: 2019-06-17T08:21:24+03:00 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project []: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [Help 1] – Aila Bogasieru Jun 17 '19 at 05:21
  • https://stackoverflow.com/questions/13170860/failed-to-execute-goal-org-apache-maven-pluginsmaven-surefire-plugin2-10test – Thabo Masilo Dec 14 '20 at 10:03

1 Answers1

-1

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>
Sameer Patil
  • 441
  • 3
  • 10