title: Maven remove version from dependency jar
body: <p>I'd like to know if there is a way to remove version number from maven dependency. </p>
  
  <p>Let's say for my project I'd like to fetch <code>commons-lang3</code> <code>3.4</code> using maven dependency plugin:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
      &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
      &lt;version&gt;3.4&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>My pom configuration says, it is fetching dependencies to the <code>./lib</code> directory inside of my project.<br>
  What I would like to achieve is remove on the fly version number from <code>commons-lang3-3.4.jar</code>. It would look like:</p>
  
  <p>./lib/commons-lang3.jar </p>
  
  <p><strong>Question</strong>: Is there any way to do such thing?</p>
  
  <p>Specifying finalName won't help here.</p>
  
  <pre><code>&lt;build&gt;
      &lt;finalName&gt;${project.name}-testing&lt;/finalName&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>Below my existing configuration:</p>
  
  <pre><code>&lt;project&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.10&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;copy-dependencies&lt;/id&gt;
                          &lt;phase&gt;process-resources&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;copy-dependencies&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;outputDirectory&gt;${dir.javaLibs}&lt;/outputDirectory&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>