title: Unable to disable generation of empty JAR (maven-jar-plugin)
body: <p>Sometimes, my Talend Open Studio components have resources but not Java sources (they are purely metadata components). I need to disable the generation of JAR files in such a case.</p>
  
  <p>I configured the maven-jar-plugin this way:</p>
  
  <pre><code>&lt;plugin&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.4&lt;/version&gt;
          &lt;configuration&gt;
              &lt;forceCreation&gt;false&lt;/forceCreation&gt;
              &lt;skipIfEmpty&gt;true&lt;/skipIfEmpty&gt;
              &lt;useDefaultManifestFile&gt;false&lt;/useDefaultManifestFile&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
  </code></pre>
  
  <p>but I still get the ${project.name}.jar file with pom.properties, pom.cml, the manifest and an empty file App.class containing only "class {}"</p>
  
  <p>While I can disable the includes of all maven stuff using this:</p>
  
  <pre><code>&lt;archive&gt;
  &lt;addMavenDescriptor&gt;false&lt;/addMavenDescriptor&gt;
  &lt;/archive&gt;
  </code></pre>
  
  <p>I still get a JAR with the manifest file inside it</p>
  
  <p>Are there some configuration parameters I misconfigured?</p>