Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Shorten code lines so they fit the window without scrolling.


Code Block
           <!-- your example configuration here -->


How do I ...?

Make the dependency plugin download a


dependency using the get goal?

The problem is that when you follow the plugin's instructions for the get goal, and provide the repositoryUrl parameter, the plugin fails may fail (at least on Ubuntu 10.10 with Maven 3.0.2/3.0.3 and plugin version 2.1/2.2).


Code Block
$ mvn dependency:get -DrepositoryUrl=

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.2:get (default-cli) on project foo:
The parameters 'repositoryUrl' for goal org.apache.maven.plugins:maven-dependency-plugin:2.2:get are
missing or invalid -> [Help 1]

The A work-aournd to around for this bug problem is to not use repositoryUrl and instead use repoUrl to specify the repository.