maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rusty Wright <rusty.wri...@gmail.com>
Subject Re: when/does maven update its plugins?
Date Sat, 18 Oct 2008 23:56:43 GMT
Ok, thanks.


Wendy Smoak wrote:
> On Sat, Oct 18, 2008 at 3:35 PM, Rusty Wright <rusty.wright@gmail.com> wrote:
>   
>> After seeing the announcement of the new version of the Maven Resources
>> Plugin I naively thought I could simply do "mvn --update-plugins", but that
>> didn't do anything, other than give me an error from not having a pom.xml in
>> the directory I was in (and then it simply rebuilt my project when I chdir'd
>> to to a directory with one).
>>
>> So next I removed the Resources Plugin directory in my ~/.m2 local
>> repository and ran "mvn package" and that downloaded the plugin, but version
>> 2.2.
>>     
>
> It depends on what version of Maven you're using.  As of 2.0.9, many
> of the plugins are locked down in the super pom inside Maven.  To get
> a newer version, you'll need to declare it and specify the version you
> want.  An organization- or project-level parent pom is a good place to
> do this, and will keep a later upgrade of Maven client from changing
> your builds.
>
>   

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


Mime
View raw message