title: Getting conflict error when running Jmeter Scripts using jmeter-maven-plugin
body: <p>I am trying to achieve the Jmeter Maven integration. When I tried with jmeter-maven-plugin, I received the error messages as per mention in the below stackoverflow question:</p>
  
  <p><a href="https://stackoverflow.com/questions/31134158/run-jmx-monitor-collector-listener-using-jmeter-maven-plugin">Run JMX monitor collector listener using Jmeter Maven Plugin</a></p>
  
  <p>I changed the my pom.xml as per suggested in the above blog and now not receiving that error (Caused by: com.thoughtworks.xstream.converters.ConversionException: kg.apc.jmeter.jmxmon.JMXMonCollector : kg.apc.jmeter.jmxmon.JMXMonCollector). However this doesn't resolved my execution problem and now I am facing below error.</p>
  
  <pre><code>[INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 45.128 s
  [INFO] Finished at: 2016-03-09T09:22:01+05:30
  [INFO] Final Memory: 46M/958M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal com.lazerycode.jmeter:jmeter-maven-plugin:1.10.1:jmeter (jmeter-tests) on project medewerkers-it: Execut
  ion jmeter-tests of goal com.lazerycode.jmeter:jmeter-maven-plugin:1.10.1:jmeter failed: Plugin com.lazerycode.jmeter:jmeter-maven-plug
  in:1.10.1 or one of its dependencies could not be resolved: Failed to collect dependencies at com.lazerycode.jmeter:jmeter-maven-plugin
  :jar:1.10.1 -&gt; kg.apc:jmeter-plugins:jar:1.0.0 -&gt; org.apache.hbase:hbase:jar:0.90.1-cdh3u0 -&gt; org.apache.thrift:thrift:jar:0.2.0: Faile
  d to read artifact descriptor for org.apache.thrift:thrift:jar:0.2.0: Could not transfer artifact org.apache.thrift:thrift:pom:0.2.0 fr
  om/to cdh.snapshot.repo (https://repository.cloudera.com/content/repositories/snapshots): Failed to transfer file: https://repository.c
  loudera.com/content/repositories/snapshots/org/apache/thrift/thrift/0.2.0/thrift-0.2.0.pom. Return code is: 409 , ReasonPhrase:Conflict
  . -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
  </code></pre>
  
  <p>I tried to change the various version, however not able to resolve this. Below is pom.xml I am using. Could anyone please help on this front.</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/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;properties&gt;
          &lt;skipITTests&gt;true&lt;/skipITTests&gt;
          &lt;geb.version&gt;0.10.0&lt;/geb.version&gt;
          &lt;selenium.version&gt;2.48.2&lt;/selenium.version&gt;
          &lt;groovy.version&gt;2.3.6&lt;/groovy.version&gt;
          &lt;spock.version&gt;0.7-groovy-2.0&lt;/spock.version&gt;
          &lt;gson.version&gt;2.3.1&lt;/gson.version&gt;
          &lt;httpclient.version&gt;4.3.4&lt;/httpclient.version&gt;
          &lt;httpcore.version&gt;4.3.2&lt;/httpcore.version&gt;
          &lt;surefire.plugin.version&gt;2.12.4&lt;/surefire.plugin.version&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.spockframework&lt;/groupId&gt;
              &lt;artifactId&gt;spock-core&lt;/artifactId&gt;
              &lt;version&gt;${spock.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                      &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.gebish&lt;/groupId&gt;
              &lt;artifactId&gt;geb-spock&lt;/artifactId&gt;
              &lt;version&gt;${geb.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&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;${selenium.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
                      &lt;artifactId&gt;gson&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
              &lt;artifactId&gt;gson&lt;/artifactId&gt;
              &lt;version&gt;${gson.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
              &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
              &lt;version&gt;${httpclient.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.11&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&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;${surefire.plugin.version}&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;skipTests&gt;${skipITTests}&lt;/skipTests&gt;
                      &lt;includes&gt;
                          &lt;include&gt;*Spec.*&lt;/include&gt;
                      &lt;/includes&gt;
                      &lt;systemPropertyVariables&gt;
                          &lt;geb.build.reportsDir&gt;target/test-reports/geb&lt;/geb.build.reportsDir&gt;
                      &lt;/systemPropertyVariables&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.gmaven&lt;/groupId&gt;
                  &lt;artifactId&gt;gmaven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.4&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;providerSelection&gt;1.8&lt;/providerSelection&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;testCompile&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.codehaus.gmaven.runtime&lt;/groupId&gt;
                          &lt;artifactId&gt;gmaven-runtime-1.8&lt;/artifactId&gt;
                          &lt;version&gt;1.4&lt;/version&gt;
                          &lt;exclusions&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                                  &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                              &lt;/exclusion&gt;
                          &lt;/exclusions&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                          &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                          &lt;version&gt;${groovy.version}&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.spockframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spock-core&lt;/artifactId&gt;
                          &lt;version&gt;${spock.version}&lt;/version&gt;
                          &lt;exclusions&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                                  &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                              &lt;/exclusion&gt;
                          &lt;/exclusions&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;   
  
              &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.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;/configuration&gt;
           &lt;/plugin&gt;
  
           &lt;plugin&gt;
                  &lt;groupId&gt;com.lazerycode.jmeter&lt;/groupId&gt;
                  &lt;artifactId&gt;jmeter-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.10.1&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;jmeter-tests&lt;/id&gt;
                          &lt;phase&gt;verify&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;jmeter&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;reportDir&gt;${project.build.directory}/jmeter-reports&lt;/reportDir&gt;
  
                                  &lt;jmeterPlugins&gt;
                                      &lt;plugin&gt;
                                          &lt;groupId&gt;kg.apc&lt;/groupId&gt;
                                          &lt;artifactId&gt;jmeter-plugins&lt;/artifactId&gt;
                                      &lt;/plugin&gt;
  
                                  &lt;/jmeterPlugins&gt;
  
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
  
                  &lt;dependencies&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;kg.apc&lt;/groupId&gt;
                              &lt;artifactId&gt;jmeter-plugins&lt;/artifactId&gt;
                              &lt;version&gt;1.0.0&lt;/version&gt;
                          &lt;/dependency&gt;
                  &lt;/dependencies&gt;
  
              &lt;/plugin&gt;
  
               &lt;plugin&gt;
             &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
             &lt;artifactId&gt;xml-maven-plugin&lt;/artifactId&gt;
             &lt;version&gt;1.0-beta-2&lt;/version&gt;
             &lt;executions&gt;
                 &lt;execution&gt;
                 &lt;phase&gt;pre-site&lt;/phase&gt;
                 &lt;goals&gt;
                     &lt;goal&gt;transform&lt;/goal&gt;
                 &lt;/goals&gt;
                 &lt;/execution&gt;
             &lt;/executions&gt;
             &lt;configuration&gt;
                 &lt;transformationSets&gt;
                     &lt;transformationSet&gt;
                         &lt;dir&gt;${project.build.directory}/jmeter-reports&lt;/dir&gt;
                         &lt;stylesheet&gt;src/test/resources/jmeter-results-detail-report_21.xsl&lt;/stylesheet&gt;
                         &lt;outputDir&gt;${project.build.directory}/site/jmeter-results&lt;/outputDir&gt;
                         &lt;fileMappers&gt;
                             &lt;fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper"&gt;
                                 &lt;targetExtension&gt;html&lt;/targetExtension&gt;
                             &lt;/fileMapper&gt;
                         &lt;/fileMappers&gt;
                     &lt;/transformationSet&gt;
                 &lt;/transformationSets&gt;
             &lt;/configuration&gt;
         &lt;/plugin&gt;
  
          &lt;/plugins&gt;
      &lt;/build&gt;    
  &lt;/project&gt;
  </code></pre>
  
  <p>I purposefully mentioned other dependencies too, just to get the clear picture. Thanks in advance!</p>
  
  <p>below is pom.xml which I have just changed and still facing the Errors as per I mentioned in the attachedment</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/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  
      &lt;!-- IMPORTANT NOTE --&gt;
      &lt;!--
          This pom.xml does not contain a parent dependency to the webapplications pom.xml.
          Due to conflicting dependencies, the parent dependency was removed by Lieven Rigo and the Indian team, with consent of Andy Verberne.
  
          The child dependency in the webapplications pom.xml has also been removed.
          This means that maven-wise, the integration test set is a separate project.
  
      --&gt;
  
      &lt;groupId&gt;net.atos.esuite.webapplications&lt;/groupId&gt;
      &lt;artifactId&gt;medewerkers-it&lt;/artifactId&gt;
      &lt;version&gt;4.5.0.7-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;!-- Project information --&gt;
      &lt;name&gt;Atos e-Suite : Webapplications : Medewerkers IT testen&lt;/name&gt;
  
      &lt;properties&gt;
          &lt;skipITTests&gt;true&lt;/skipITTests&gt;
          &lt;geb.version&gt;0.10.0&lt;/geb.version&gt;
          &lt;selenium.version&gt;2.48.2&lt;/selenium.version&gt;
          &lt;groovy.version&gt;2.3.6&lt;/groovy.version&gt;
          &lt;spock.version&gt;0.7-groovy-2.0&lt;/spock.version&gt;
          &lt;gson.version&gt;2.3.1&lt;/gson.version&gt;
          &lt;httpclient.version&gt;4.3.4&lt;/httpclient.version&gt;
          &lt;httpcore.version&gt;4.3.2&lt;/httpcore.version&gt;
          &lt;surefire.plugin.version&gt;2.12.4&lt;/surefire.plugin.version&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.spockframework&lt;/groupId&gt;
              &lt;artifactId&gt;spock-core&lt;/artifactId&gt;
              &lt;version&gt;${spock.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                      &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.gebish&lt;/groupId&gt;
              &lt;artifactId&gt;geb-spock&lt;/artifactId&gt;
              &lt;version&gt;${geb.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&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;${selenium.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
                      &lt;artifactId&gt;gson&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
              &lt;artifactId&gt;gson&lt;/artifactId&gt;
              &lt;version&gt;${gson.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
              &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
              &lt;version&gt;${httpclient.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Newly added dependencies--&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.11&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!--
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
              &lt;version&gt;2.5&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
              &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
              &lt;version&gt;2.1&lt;/version&gt;
          &lt;/dependency&gt;
          --&gt;
          &lt;!--
          &lt;dependency&gt;
              &lt;groupId&gt;kg.apc&lt;/groupId&gt;
              &lt;artifactId&gt;jmeter-plugins-extras&lt;/artifactId&gt;
              &lt;version&gt;1.1.3&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.thrift&lt;/groupId&gt;
              &lt;artifactId&gt;libthrift&lt;/artifactId&gt;
              &lt;version&gt;0.6.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;kg.apc&lt;/groupId&gt;
              &lt;artifactId&gt;jmeter-plugins-common&lt;/artifactId&gt;
              &lt;version&gt;1.1.3&lt;/version&gt;
          &lt;/dependency&gt;
          --&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&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;${surefire.plugin.version}&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;skipTests&gt;${skipITTests}&lt;/skipTests&gt;
                      &lt;includes&gt;
                          &lt;include&gt;*Spec.*&lt;/include&gt;
                      &lt;/includes&gt;
                      &lt;systemPropertyVariables&gt;
                          &lt;geb.build.reportsDir&gt;target/test-reports/geb&lt;/geb.build.reportsDir&gt;
                      &lt;/systemPropertyVariables&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.gmaven&lt;/groupId&gt;
                  &lt;artifactId&gt;gmaven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.4&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;providerSelection&gt;1.8&lt;/providerSelection&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;testCompile&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.codehaus.gmaven.runtime&lt;/groupId&gt;
                          &lt;artifactId&gt;gmaven-runtime-1.8&lt;/artifactId&gt;
                          &lt;version&gt;1.4&lt;/version&gt;
                          &lt;exclusions&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                                  &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                              &lt;/exclusion&gt;
                          &lt;/exclusions&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                          &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                          &lt;version&gt;${groovy.version}&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.spockframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spock-core&lt;/artifactId&gt;
                          &lt;version&gt;${spock.version}&lt;/version&gt;
                          &lt;exclusions&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                                  &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                              &lt;/exclusion&gt;
                          &lt;/exclusions&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
  
              &lt;!-- Newly added plugins--&gt;
              &lt;!--            
              &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.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;/configuration&gt;
           &lt;/plugin&gt;
           --&gt;
           &lt;plugin&gt;
                  &lt;groupId&gt;com.lazerycode.jmeter&lt;/groupId&gt;
                  &lt;artifactId&gt;jmeter-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.10.1&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;jmeter-tests&lt;/id&gt;
                          &lt;phase&gt;verify&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;jmeter&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;reportDir&gt;${project.build.directory}/jmeter-reports&lt;/reportDir&gt;
  
                                  &lt;jmeterPlugins&gt;
                                      &lt;plugin&gt;
                                          &lt;groupId&gt;kg.apc&lt;/groupId&gt;
                                          &lt;artifactId&gt;jmeter-plugins&lt;/artifactId&gt;
                                      &lt;/plugin&gt;
  
                                  &lt;/jmeterPlugins&gt;
  
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
  
                  &lt;dependencies&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;kg.apc&lt;/groupId&gt;
                              &lt;artifactId&gt;jmeter-plugins&lt;/artifactId&gt;
                              &lt;version&gt;1.0.0&lt;/version&gt;
                          &lt;/dependency&gt;
                  &lt;/dependencies&gt;
  
              &lt;/plugin&gt;
  
  
               &lt;plugin&gt;
             &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
             &lt;artifactId&gt;xml-maven-plugin&lt;/artifactId&gt;
             &lt;version&gt;1.0-beta-2&lt;/version&gt;
             &lt;executions&gt;
                 &lt;execution&gt;
                 &lt;phase&gt;pre-site&lt;/phase&gt;
                 &lt;goals&gt;
                     &lt;goal&gt;transform&lt;/goal&gt;
                 &lt;/goals&gt;
                 &lt;/execution&gt;
             &lt;/executions&gt;
             &lt;configuration&gt;
                 &lt;transformationSets&gt;
                     &lt;transformationSet&gt;
                         &lt;dir&gt;${project.build.directory}/jmeter-reports&lt;/dir&gt;
                         &lt;stylesheet&gt;src/test/resources/jmeter-results-detail-report_21.xsl&lt;/stylesheet&gt;
                         &lt;outputDir&gt;${project.build.directory}/site/jmeter-results&lt;/outputDir&gt;
                         &lt;fileMappers&gt;
                             &lt;fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper"&gt;
                                 &lt;targetExtension&gt;html&lt;/targetExtension&gt;
                             &lt;/fileMapper&gt;
                         &lt;/fileMappers&gt;
                     &lt;/transformationSet&gt;
                 &lt;/transformationSets&gt;
             &lt;/configuration&gt;
         &lt;/plugin&gt;
  
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;!--
       &lt;repositories&gt;
          &lt;repository&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
                  &lt;updatePolicy&gt;always&lt;/updatePolicy&gt;
                  &lt;checksumPolicy&gt;warn&lt;/checksumPolicy&gt;
              &lt;/releases&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
                  &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
              &lt;checksumPolicy&gt;fail&lt;/checksumPolicy&gt;
              &lt;/snapshots&gt;
              &lt;id&gt;codehausSnapshots&lt;/id&gt;
              &lt;name&gt;Codehaus Snapshots&lt;/name&gt;
              &lt;url&gt;http://snapshots.maven.codehaus.org/maven2&lt;/url&gt;
              &lt;layout&gt;default&lt;/layout&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      --&gt;
  
  
      &lt;!--
      &lt;repositories&gt;
          &lt;repository&gt;
      &lt;id&gt;central&lt;/id&gt;
      &lt;url&gt;http://repo1.maven.org/maven2/&lt;/url&gt;
    &lt;/repository&gt;
      &lt;/repositories&gt;
      --&gt;
      &lt;pluginRepositories&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;sonatype-snapshots&lt;/id&gt;
          &lt;url&gt;https://oss.sonatype.org/content/repositories/snapshots/&lt;/url&gt;
      &lt;/pluginRepository&gt;
  &lt;/pluginRepositories&gt;
  
  &lt;/project&gt;][1]][1]
  </code></pre>