title: Can not set the final jar name with maven-assembly-plugin
body: <p>This is how I configured <code>maven-assembly-plugin</code></p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.4&lt;/version&gt;
      &lt;configuration&gt;
          &lt;finalName&gt;myapp&lt;/finalName&gt;
          &lt;archive&gt;
              &lt;manifest&gt;
                  &lt;mainClass&gt;com.myapp.Main&lt;/mainClass&gt;
              &lt;/manifest&gt;
          &lt;/archive&gt;
          &lt;!--
          &lt;descriptorRefs&gt;
              &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
          &lt;/descriptorRefs&gt;
          --&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>and I expect the final jar file should be <code>myapp.jar</code> but it ends up with <code>myapp-jar-with-dependencies.jar</code></p>
  
  <p>Can you tell me how to configure to exclude <code>"jar-with-dependencies"</code> out of the final name?</p>