title: Parallel execution with maven-surefire-plugin is throwing PluginResolutionException
body: <p>I am trying to execute my feature files via TestRunner.java files (by mentioning them in pom.xml) , in parallel using maven-surefire-plugin, for which i have set up pom.xml as below, but when i run pom.xml as maven test, its throwing PluginResolutionException when the version is 3.0.0-M3, when i have update the version to 2.19.1, the maven test is not running my feature files but the build is shown as successful</p>
  
  <ul>
  <li><p>I have tried with different versions but not worked </p></li>
  <li><p>Also I have tried replacing the configuration part with below changes</p></li>
  </ul>
  
  <p>still  my feature files are not executed but the build is 
     successful</p>
  
  <pre><code>&lt;configuration&gt;
  &lt;forkCount&gt;3&lt;/forkCount&gt;
  &lt;reuseForks&gt;true&lt;/reuseForks&gt;
  &lt;!-- 
  &lt;parallel&gt;classes&lt;/parallel&gt;
  &lt;forkMode&gt;perthread&lt;/forkMode&gt;
  &lt;threadCount&gt;3&lt;/threadCount&gt;
  --&gt;
  &lt;argLine&gt;-Xmx1024m -XX:MaxPermSize=256m&lt;/argLine&gt;
  &lt;includes&gt;
  &lt;include&gt;**/*TestRunner.java&lt;/include&gt;
  &lt;/includes&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>PS: After reading the below  artical
  <a href="https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit.html#Running_tests_in_parallel" rel="nofollow noreferrer">https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit.html#Running_tests_in_parallel</a></p>
  
  <p>I understand that there is link between the Junit version and surefireflugin i use in my project, bow one thing is for sure, the correct combination of Junit and maven-surefire-plugin is very much necessary, i have tried with below combinations </p>
  
  <pre><code>JUnit 4.7
  plugin 3.0.0-M3
  
  &lt;plugin&gt;
  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
  &lt;version&gt;3.0.0-M3&lt;/version&gt;
  &lt;dependencies&gt;
  &lt;dependency&gt;
  &lt;groupId&gt;org.apache.maven.surefire&lt;/groupId&gt;
  &lt;artifactId&gt;surefire-junit47&lt;/artifactId&gt;
  &lt;version&gt;3.0.0-M3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/plugin&gt; 
  
  JUnit 4.12
  plugin 2.20
  
  &lt;plugin&gt;
  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
  &lt;version&gt;2.20&lt;/version&gt;
  &lt;configuration&gt;
  &lt;parallel&gt;classes&lt;/parallel&gt;
  &lt;threadCount&gt;3&lt;/threadCount&gt;
  &lt;argLine&gt;-Xmx1024m -XX:MaxPermSize=256m&lt;/argLine&gt;
  &lt;includes&gt;
  &lt;include&gt;**/*TestRunner.java&lt;/include&gt;
  &lt;/includes&gt;
  &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>but its not helpful, I suppose i am doing mistake in choosing this versions and the config of plugin with proper parameters, please help me</p>
  
  <p>My complete pom is as below </p>
  
  <pre><code>        &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
              &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
              &lt;groupId&gt;com.practise.raja&lt;/groupId&gt;
              &lt;artifactId&gt;SeleniumConcepts&lt;/artifactId&gt;
              &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
              &lt;dependencies&gt;
                      &lt;dependency&gt;
                      &lt;groupId&gt;junit&lt;/groupId&gt;
                      &lt;artifactId&gt;junit&lt;/artifactId&gt;
                      &lt;version&gt;4.12&lt;/version&gt;
                  &lt;/dependency&gt;
  
                  &lt;dependency&gt;
                      &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
                      &lt;artifactId&gt;cucumber-junit&lt;/artifactId&gt;
                      &lt;version&gt;4.7.1&lt;/version&gt;
                  &lt;/dependency&gt;
  
                  &lt;dependency&gt;
                      &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
                      &lt;artifactId&gt;cucumber-picocontainer&lt;/artifactId&gt;
                      &lt;version&gt;4.7.1&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
                      &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
                      &lt;version&gt;3.5.3&lt;/version&gt;
                  &lt;/dependency&gt;
  
              &lt;/dependencies&gt;
  
              &lt;build&gt;
                  &lt;plugins&gt;
                      &lt;plugin&gt;
                          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                          &lt;version&gt;3.1&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;source&gt;1.8&lt;/source&gt;
                              &lt;target&gt;1.8&lt;/target&gt;
                              &lt;fork&gt;true&lt;/fork&gt;
                              &lt;executable&gt;C:\Program Files (x86)\Java\jdk1.8.0_211\bin\javac&lt;/executable&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
  
                      &lt;plugin&gt;
                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                          &lt;version&gt;3.0.0-M3&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;parallel&gt;classes&lt;/parallel&gt;
                              &lt;forkMode&gt;perthread&lt;/forkMode&gt;
                              &lt;threadCount&gt;3&lt;/threadCount&gt;
                              &lt;argLine&gt;-Xmx1024m -XX:MaxPermSize=256m&lt;/argLine&gt;
                              &lt;includes&gt;
                                  &lt;include&gt;**/*TestRunner.java&lt;/include&gt;
                              &lt;/includes&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
  
                  &lt;/plugins&gt;
              &lt;/build&gt;
          &lt;/project&gt;
  </code></pre>
  
  <p>Expected: 
  My feature files should run in parallel
  Actual:
  My feature files are not executed</p>
  
  <p><a href="https://i.stack.imgur.com/RZ3gR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RZ3gR.png" alt="enter image description here"></a></p>
  
  <p>After changing the dependencies and plugin as suggested by sureshmani, this is how it looks
  <a href="https://i.stack.imgur.com/v2iJi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v2iJi.png" alt="enter image description here"></a></p>