latest non-snapshot dependency

2007-07-30 Thread Rodrigo Gonçalves
Hi... In my poms I have some plugins configured without the version in order to use the latest one, but in my settings.xml file I need to have some snapshot-repositories. So in the builds maven will use the latest version available witch is a snapshot version, and that is not my intension. Is

Re: latest non-snapshot dependency

2007-07-30 Thread Stuart McCulloch
On 30/07/07, Rodrigo Gonçalves [EMAIL PROTECTED] wrote: Hi... In my poms I have some plugins configured without the version in order to use the latest one, but in my settings.xml file I need to have some snapshot-repositories. So in the builds maven will use the latest version available

Re: latest non-snapshot dependency

2007-07-30 Thread Rodrigo Gonçalves
Hi Stuart ! Thx for your response... I've tried to use your suggestion but it does not work for every artifacts. For example: when I use: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-release-plugin/artifactId

Re: latest non-snapshot dependency

2007-07-30 Thread Stuart McCulloch
On 30/07/07, Rodrigo Gonçalves [EMAIL PROTECTED] wrote: Hi Stuart ! Thx for your response... I've tried to use your suggestion but it does not work for every artifacts. For example: when I use: plugin groupIdorg.apache.maven.plugins/groupId

Re: latest non-snapshot dependency

2007-07-30 Thread Wayne Fay
To answer your original question, it is not currently possible to tell Maven to use the latest non-snapshot of a dependency. Something along these lines has been under discussion on the Dev list in the last month, though. Your best bet is to simply specify the exact version you want, or remove

Re: latest non-snapshot dependency

2007-07-30 Thread Wayne Fay
As far as I understand it, this works fine so long as you are only connecting to non-snapshot repos. As Rodrigo mentioned, he has snapshot repos configured in his pom, and as such the RELEASE tag will not work as desired. Wayne On 7/30/07, Stuart McCulloch [EMAIL PROTECTED] wrote: On 30/07/07,