title: Jenkins: maven release plugin ignores dependency classifier
body: <p>I want to release a module via Jenkins that uses a dependency which is not only distinguished by its version but also by a custom classifier passed as a system property at build time. The effective pom printed in the console output shows that the correct classifier is used</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;de.test&lt;/groupId&gt;
    &lt;artifactId&gt;common-module&lt;/artifactId&gt;
    &lt;version&gt;0.0.4-SNAPSHOT&lt;/version&gt;
    &lt;classifier&gt;custom&lt;/classifier&gt;
    &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;  
  </code></pre>
  
  <p>However, when the release plugins' prepare goal runs, the build breaks due to a compilation error because of missing classes which are only available in the dependency version that uses the custom classifier. Printing the properties with the maven-antrun-plugin reveals that the release plugin is using the version without classifier.</p>
  
  <pre><code>[INFO] [echoproperties] de.test\:common-module\:jar=/var/lib/****/.m2/repository/de/test/common-module/0.0.4-SNAPSHOT/common-module-0.0.4-SNAPSHOT.jar
  [INFO] [echoproperties] maven.dependency.de.test.common-module.jar.path=/var/lib/****/.m2/repository/de/test/common-module/0.0.4-SNAPSHOT/common-module-0.0.4-SNAPSHOT.jar
  </code></pre>
  
  <p>I would expect the release plugin to pickup the jar named <code>common-module-0.0.4-SNAPSHOT-custom.jar</code> which is definitely available in the maven repository. Doesn't the release plugin support classifiers?</p>