You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ron Wheeler <rw...@artifact-software.com> on 2010/08/12 18:02:21 UTC

Re: how to resolve dependency version with newest?

 Newest measured how?

Highest version?
Are you trying to say "I don't care what version I get as long as it is
the highest/latest available?

Just put the version that you want in your top level POM and
nearest-wins will get it.

What exactly are you trying to achieve?
Do you have a lot of different versions of an artifact specified in your
dependency tree?

Ron

On 12/08/2010 11:10 AM, Michael Chan wrote:
> Hi,
>
> I am new to maven and currently using version 2.1. Seems
> it only supports the "nearest-wins" policy, how can I use
> "newest-wins"? I googled and found this
>
> http://docs.codehaus.org/display/MAVEN/Conflict+Resolvers
>
> is it already implemented? If no, any other solution?
>
> Thanks.
>
> Michael
>
> --------------------------------------
> Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/ie8/
>
> ---------------------------------------------------------------------
> 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