title: shade for parameter resource: Cannot find 'resource' in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
body: <p>I'm working on a maven project. I'm trying to integrate jmh benchmarking into my project. The pom.xml of my maven project...</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;platform&lt;/groupId&gt;
      &lt;artifactId&gt;platform-root&lt;/artifactId&gt;
      &lt;version&gt;3.0-SNAPSHOT&lt;/version&gt;
      &lt;relativePath&gt;../../pom.xml&lt;/relativePath&gt;
  &lt;/parent&gt;
  
  &lt;artifactId&gt;platform-migration&lt;/artifactId&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  &lt;name&gt;Platform Migration&lt;/name&gt;
  
  &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;maven.compile.source&gt;1.7&lt;/maven.compile.source&gt;
      &lt;maven.compile.target&gt;1.7&lt;/maven.compile.target&gt;
      &lt;jmh.version&gt;1.1.1&lt;/jmh.version&gt;
      &lt;jersey-version&gt;2.22.1&lt;/jersey-version&gt;
      &lt;uberjar.name&gt;rest-benchmarks&lt;/uberjar.name&gt;
  &lt;/properties&gt;
  
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;platform&lt;/groupId&gt;
          &lt;artifactId&gt;platform-commons&lt;/artifactId&gt;
          &lt;version&gt;${platform.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;platform&lt;/groupId&gt;
          &lt;artifactId&gt;platform-persistence&lt;/artifactId&gt;
          &lt;version&gt;${platform.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;platform&lt;/groupId&gt;
          &lt;artifactId&gt;platform-testing&lt;/artifactId&gt;
          &lt;version&gt;${project.version}&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjdk.jmh&lt;/groupId&gt;
          &lt;artifactId&gt;jmh-core&lt;/artifactId&gt;
          &lt;version&gt;${jmh.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjdk.jmh&lt;/groupId&gt;
          &lt;artifactId&gt;jmh-generator-annprocess&lt;/artifactId&gt;
          &lt;version&gt;${jmh.version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jersey.core&lt;/groupId&gt;
          &lt;artifactId&gt;jersey-client&lt;/artifactId&gt;
          &lt;version&gt;${jersey-version}&lt;/version&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-shade-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.0.0&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;shade&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;transformers&gt;
                              &lt;transformer
                                  implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"&gt;
                                  &lt;mainClass&gt;org.openjdk.jmh.Main&lt;/mainClass&gt;
                              &lt;/transformer&gt;
                          &lt;/transformers&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>
  
  <p>When I build my project using "mvn clean install", I got following error</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade (default) on project platform-migration: Unable to parse configuration of mojo org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade for parameter resource: Cannot find 'resource' in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer -&gt; [Help 1]
  </code></pre>
  
  <p>I don't understand why this error is happening? <br><br></p>