Skip to content

Instantly share code, notes, and snippets.

@jx13xx
Created August 7, 2020 11:53
Show Gist options
  • Save jx13xx/8434e845d527d4c0d9ec57616976b241 to your computer and use it in GitHub Desktop.
Save jx13xx/8434e845d527d4c0d9ec57616976b241 to your computer and use it in GitHub Desktop.
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)

You are missing one of the plugins in your POM.xml just add the following plugins
and you mvn clean install

Add the Surface Plugin

 <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-surefire-plugin</artifactId>
     <version>2.19.1</version>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment