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-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org