Re: fetching latest release of an artifact

2009-10-19 Thread Tomasz Pik
On Fri, Oct 16, 2009 at 9:18 PM, Peter Janes wrote: > On 16/10/09 11:45 AM, Stephen Connolly wrote: >> >> 2009/10/16 Peter Janes >> >>> On 15/10/09 05:45 AM, Stephen Connolly wrote: >>> These are very dangerous versions to suggest use of. >>> >>> ...but there *are* use cases for them. >> >> W

Re: fetching latest release of an artifact

2009-10-17 Thread Stephen Connolly
2009/10/16 Peter Janes > On 16/10/09 11:45 AM, Stephen Connolly wrote: > >> 2009/10/16 Peter Janes >> >> On 15/10/09 05:45 AM, Stephen Connolly wrote: >>> >>> These are very dangerous versions to suggest use of. >>> >>> ...but there *are* use cases for them. >>> >> >> When your use case re

Re: fetching latest release of an artifact

2009-10-17 Thread Peter Janes
On 16/10/09 11:45 AM, Stephen Connolly wrote: 2009/10/16 Peter Janes On 15/10/09 05:45 AM, Stephen Connolly wrote: These are very dangerous versions to suggest use of. ...but there *are* use cases for them. When your use case results in a completely unpredictable build... no thank you. F

Re: fetching latest release of an artifact

2009-10-16 Thread Stephen Connolly
2009/10/16 Benjamin Bentmann > Stephen Connolly wrote: > > maven-deploy-plugin updates the metadata whenever there is a deploy... >> e.g. >> >> it sets the /metadata/versioning/latest to the version that is has just >> deployed. and if the version is not a SNAPSHOT, it sets the >> /metadata/ver

Re: fetching latest release of an artifact

2009-10-16 Thread Stephen Connolly
2009/10/16 Peter Janes > On 16/10/09 11:45 AM, Stephen Connolly wrote: > >> 2009/10/16 Peter Janes >> >> On 15/10/09 05:45 AM, Stephen Connolly wrote: >>> >>> These are very dangerous versions to suggest use of. >>> >>> ...but there *are* use cases for them. >>> >> >> When your use case re

Re: fetching latest release of an artifact

2009-10-16 Thread Paul Gier
Stephen Connolly wrote: 2009/10/16 Peter Janes On 15/10/09 05:45 AM, Stephen Connolly wrote: These are very dangerous versions to suggest use of. ...but there *are* use cases for them. When your use case results in a completely unpredictable build... no thank you. For dependencies, use

Re: fetching latest release of an artifact

2009-10-16 Thread Stephen Connolly
2009/10/16 Peter Janes > On 16/10/09 11:47 AM, Stephen Connolly wrote: > >> 2009/10/16 Peter Janes >> >> However, I'm not aware of any released version of Maven or any plugin >>> that >>> actually treats dependencies this way; Mercury, tested through >>> versions-maven-plugin, doesn't appear to

Re: fetching latest release of an artifact

2009-10-16 Thread Peter Janes
On 16/10/09 11:45 AM, Stephen Connolly wrote: 2009/10/16 Peter Janes On 15/10/09 05:45 AM, Stephen Connolly wrote: These are very dangerous versions to suggest use of. ...but there *are* use cases for them. When your use case results in a completely unpredictable build... no thank you. F

Re: fetching latest release of an artifact

2009-10-16 Thread Peter Janes
On 16/10/09 11:47 AM, Stephen Connolly wrote: 2009/10/16 Peter Janes However, I'm not aware of any released version of Maven or any plugin that actually treats dependencies this way; Mercury, tested through versions-maven-plugin, doesn't appear to either. (But I'd love to be proven wrong!)

Re: fetching latest release of an artifact

2009-10-16 Thread Benjamin Bentmann
Stephen Connolly wrote: maven-deploy-plugin updates the metadata whenever there is a deploy... e.g. it sets the /metadata/versioning/latest to the version that is has just deployed. and if the version is not a SNAPSHOT, it sets the /metadata/versioning/release as well. Actually, it's a littl

Re: fetching latest release of an artifact

2009-10-16 Thread Stephen Connolly
2009/10/16 Stephen Connolly > 2009/10/16 Peter Janes > >> However, I'm not aware of any released version of Maven or any plugin >> that actually treats dependencies this way; Mercury, tested through >> versions-maven-plugin, doesn't appear to either. (But I'd love to be proven >> wrong!) >> >

Re: fetching latest release of an artifact

2009-10-16 Thread Stephen Connolly
2009/10/16 Peter Janes > However, I'm not aware of any released version of Maven or any plugin that > actually treats dependencies this way; Mercury, tested through > versions-maven-plugin, doesn't appear to either. (But I'd love to be proven > wrong!) > versions-maven-plugin does not use merc

Re: fetching latest release of an artifact

2009-10-16 Thread Stephen Connolly
2009/10/16 Peter Janes > On 15/10/09 05:45 AM, Stephen Connolly wrote: > >> These are very dangerous versions to suggest use of. >> > > ...but there *are* use cases for them. When your use case results in a completely unpredictable build... no thank you. For dependencies, use version ranges.

Re: fetching latest release of an artifact

2009-10-16 Thread Peter Janes
On 15/10/09 05:45 AM, Stephen Connolly wrote: These are very dangerous versions to suggest use of. ...but there *are* use cases for them. These are deprecated and are only "special" versions when considering plugins... and they do not behave as you think they behave. For what it's worth, th

Re: fetching latest release of an artifact

2009-10-15 Thread Stephen Connolly
t reliable (at least should be, but never tried that behaviour of > the release-plugin myself, anyone?) > > LieGrue, > strub > > > > - Original Message > > From: gerhard presser > > To: dev@maven.apache.org > > Sent: Thu, October 15, 2009 8:59:3

Re: fetching latest release of an artifact

2009-10-15 Thread Stephen Connolly
; -- > View this message in context: > http://www.nabble.com/fetching-latest-release-of-an-artifact-tp25903867p25903867.html > Sent from the Maven Developers mailing list archive at Nabble.com. > > > - > To unsubs

Re: fetching latest release of an artifact

2009-10-15 Thread Benjamin Bentmann
gerhard presser wrote: because of that i want to fetch the last release of my artifact. how can i do that. i'm playing around with ArtifactResolver, ArtifactMetadataSource etc. is this the right way? Yes, [0] and [1] could provide further hints on using those components. IIRC, the artifact re

Re: fetching latest release of an artifact

2009-10-15 Thread Mark Struberg
never tried that behaviour of the release-plugin myself, anyone?) LieGrue, strub - Original Message > From: gerhard presser > To: dev@maven.apache.org > Sent: Thu, October 15, 2009 8:59:32 AM > Subject: fetching latest release of an artifact > > > hi all! > i&

fetching latest release of an artifact

2009-10-14 Thread gerhard presser
View this message in context: http://www.nabble.com/fetching-latest-release-of-an-artifact-tp25903867p25903867.html Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscribe, e-mail: de