You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2009/11/12 10:49:38 UTC

particular version of maven-dependency-plugin

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
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

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


Re: particular version of maven-dependency-plugin

Posted by Nick Stolwijk <ni...@gmail.com>.
And to explain why it won't take the last. Since maven 2.0.9 all the
core plugins are nailed down in the super pom. So old builds won't
break when new versions are released. You are still advised to nail
down all the plugins you use in your build including the core plugins.
For all non-core plugins the LATEST release will be taken when you
execute it without specifying a version.

Hth,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Thu, Nov 12, 2009 at 11:14 AM, Karl Heinz Marbaise <kh...@gmx.de> wrote:
> Hi,
>
> many thanks...it works...
>
>> Try using the FQ plugin name/coordinates:
>>
>> mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:tree
>
> sometimes the obviously things don't coming into my mind...;-)
>
> Kind regards
> Karl Heinz Marbaise
> --
> SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
> Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
> Hauptstrasse 177                         USt.IdNr: DE191347579
> 52146 Würselen                           http://www.soebes.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: particular version of maven-dependency-plugin

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

many thanks...it works...

> Try using the FQ plugin name/coordinates:
> 
> mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:tree
sometimes the obviously things don't coming into my mind...;-)

Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

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


Re: particular version of maven-dependency-plugin

Posted by "Adam Leggett (UPCO)" <ad...@upco.co.uk>.
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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org