Try using the FQ plugin name/coordinates:

mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:tree

Cheers

Adam


On Thu, 2009-11-12 at 10:49 +0100, Karl Heinz Marbaise wrote:
> Hi,
> 
> i'm trying to run the maven-dependency-plugin from command line without
> putting the information into the pom of the project...
> 
> 
> Just simply using:
> 
> mvn dependency:tree
> 
> But what i'm astonished about is that it always will download the 2.0 
> release of the plugin and not the latest (2.1)...
> 
> So may be i oversight something...
> 
> How can i define to use a particular version of plugin in particular the 
> maven-dependency-plugin?
> 
> Using the following:
> mac:supose km$ mvn -version
> Using Java version: 1.6.0
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_13
> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"
> 
> 
> Kind regards
> Karl Heinz Marbaise


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to