Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>That's very strange, you can see in the source (<a href="http://svn.apache.org/viewvc/maven/plugins/tags/maven-dependency-plugin-2.1/src/main/java/org/apache/maven/plugin/dependency/CopyDependenciesMojo.java?revision=732368&amp;view=markup" rel="nofollow">Mojo</a>, <a href="http://svn.apache.org/viewvc/maven/plugins/tags/maven-dependency-plugin-2.1/src/main/java/org/apache/maven/plugin/dependency/AbstractFromDependenciesMojo.java?revision=732368&amp;view=markup" rel="nofollow">Parent Mojo</a>, <a href="http://svn.apache.org/viewvc/maven/plugins/tags/maven-dependency-plugin-2.1/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java?revision=732368&amp;view=markup" rel="nofollow">DependencyUtil</a>) that stripVersion does what it says it does.</p> <p>Several possibilities:</p> <p>a) Are you using the current version of the dependencies plugin?</p> <p>Either configure your pom</p> <pre><code> &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.1&lt;/version&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; </code></pre> <p>or use the fully qualified goal name:</p> <pre><code>mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:copy-dependencies </code></pre> <p>b) <code>stripVersion</code> is the parameter name in XML configuration. The command line version is </p> <pre><code>-Dmdep.stripVersion=false </code></pre> <p>Try using that.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload