Did you mean to add org.apache.maven.surefire
as a POM dependency under <dependencies>
?
Most usages of the Surefire plugin are configured under the <pluginManagement>
section:
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
</plugin>
</plugins>
</pluginManagement>
</build>