Re: Change to artifact version handling.

2008-04-18 Thread Vincent Siveton
Hi Paul, I think this thread is very close to this one: http://www.nabble.com/How-to-use-central-repo-into-an-Eclipse-project--td16676423s177.html Cheers, Vincent 2008/4/15, Paul Gier <[EMAIL PROTECTED]>: > Hi everyone, > > I'd like to make a small change to the artifact version parsing. We >

Re: Change to artifact version handling.

2008-04-18 Thread Hervé BOUTEMY
g of one type of non-standard format. But I > >>> understand your concern, that's why I brought it up for > >>> discussion ;) > >>> > >>> Brian E. Fox wrote: > >>>> These kinds of changes in the 2.0.x branch concern me. There'

Re: Change to artifact version handling.

2008-04-17 Thread Michael McCallum
On Fri, 18 Apr 2008 04:11:19 Christian Edward Gruber wrote: > Having said that, a simpler option would be to have - or . parsed as > equivalent punctuation tokens, and have numerical ordering if it's > convertable to a number or lexical ordering if not, on each item > between the punctuations. so:

Re: Change to artifact version handling.

2008-04-17 Thread Michael McCallum
I know that maven2 is convention over anything else... a more general but consistent versioning scheme will help people transition, and help maven packages artifacts stay consistent with upstream sources. You could even have the release plugin map the version to the maven2 way with beta, alpha,

Re: Change to artifact version handling.

2008-04-17 Thread Michael McCallum
With two caveats... 1) A leading zero turns a number into a string (not a zero by itself) 2) How to you apply the -! rule that I use all the time which stops a match against -SNAPSHOT e.g. [2,3-!) will not match 3-SNAPSHOT. Perhaps say ! means !"" and which means so that it can only match the

Re: Change to artifact version handling.

2008-04-17 Thread Michael McCallum
If we were to split the version string into components on - and . and _ and also split on transitions from number to letters then use the ordering rules at each component as defined here... Examples of version to components split 1.0 ==> 1, 0 1.0-beta1 ==> 1, 0, beta, 1 1-SNAPSHOT ==> 1, SNAPSHO

Re: Change to artifact version handling.

2008-04-17 Thread Jesse McConnell
t doesn't change the parsing of the standard maven version > > > > string, I think the risk is pretty low. I see it as basically better > > > > handling of one type of non-standard format. But I understand your > > > > concern, > > > > that&#

Re: Change to artifact version handling.

2008-04-17 Thread Brett Porter
- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 5:23 AM To: Maven Developers List Subject: Re: Change to artifact version handling. I haven't yet applied it, but at first thought it seems a reasonable change. - Brett On 16/04/2008, at 6:37 AM, Paul Gier wrote: Hi ev

Re: Change to artifact version handling.

2008-04-17 Thread Paul Gier
There's no way to predict what impact this will have out there. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 5:23 AM To: Maven Developers List Subject: Re: Change to artifact version handling. I haven't yet applied it, but at firs

Re: Change to artifact version handling.

2008-04-17 Thread Christian Edward Gruber
n ;) Brian E. Fox wrote: These kinds of changes in the 2.0.x branch concern me. There's no way to predict what impact this will have out there. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 5:23 AM To: Maven Developers List S

Re: Change to artifact version handling.

2008-04-17 Thread Paul Gier
al Message- From: Paul Gier [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 11:12 AM To: Maven Developers List Subject: Re: Change to artifact version handling. Yes, this would be ideal for me too :) How difficult would it be to allow the version parsing to be loaded as a build extens

RE: Change to artifact version handling.

2008-04-17 Thread Brian E. Fox
AM To: Maven Developers List Subject: Re: Change to artifact version handling. Yes, this would be ideal for me too :) How difficult would it be to allow the version parsing to be loaded as a build extension? That seems like the best solution. Could this be implemented in 2.0.x? Brian E. Fox wrote

Re: Change to artifact version handling.

2008-04-17 Thread Paul Gier
: Maven Developers List Subject: Re: Change to artifact version handling. The mechanism for Artifact version checking should really be pluggable. It looks like it was originally intended to be (why else would it be named DefaultArtifactVersion and implement an interface), but the code just does new

Re: Change to artifact version handling.

2008-04-17 Thread Paul Gier
Brett Porter wrote: On 17/04/2008, at 9:39 PM, Brian E. Fox wrote: These kinds of changes in the 2.0.x branch concern me. There's no way to predict what impact this will have out there. Yes, I thought it'd just be for trunk? There were two things that occurred to me: - anything relying on

RE: Change to artifact version handling.

2008-04-17 Thread Brian E. Fox
[mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 10:25 AM To: Maven Developers List Subject: Re: Change to artifact version handling. The mechanism for Artifact version checking should really be pluggable. It looks like it was originally intended to be (why else would it be named

Re: Change to artifact version handling.

2008-04-17 Thread Ralph Goers
9:51 AM To: Maven Developers List Subject: Re: Change to artifact version handling. On 17/04/2008, at 9:39 PM, Brian E. Fox wrote: These kinds of changes in the 2.0.x branch concern me. There's no way to predict what impact this will have out there. Yes, I thought it'd just

RE: Change to artifact version handling.

2008-04-17 Thread Brian E. Fox
ailto:[EMAIL PROTECTED] On Behalf Of Brett Porter Sent: Thursday, April 17, 2008 9:51 AM To: Maven Developers List Subject: Re: Change to artifact version handling. On 17/04/2008, at 9:39 PM, Brian E. Fox wrote: > These kinds of changes in the 2.0.x branch concern me. There's no > way t

Re: Change to artifact version handling.

2008-04-17 Thread Paul Gier
hese kinds of changes in the 2.0.x branch concern me. There's no way to predict what impact this will have out there. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 5:23 AM To: Maven Developers List Subject: Re: Change to artifact versi

Re: Change to artifact version handling.

2008-04-17 Thread Brett Porter
ore "you could probably get away with it", not "that'll be fine" - it would be better to support alternate syntax's such as we'd discussed before. - Brett -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 200

RE: Change to artifact version handling.

2008-04-17 Thread Brian E. Fox
These kinds of changes in the 2.0.x branch concern me. There's no way to predict what impact this will have out there. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 5:23 AM To: Maven Developers List Subject: Re: Change to artifact ve

Re: Change to artifact version handling.

2008-04-17 Thread Brett Porter
I haven't yet applied it, but at first thought it seems a reasonable change. - Brett On 16/04/2008, at 6:37 AM, Paul Gier wrote: Hi everyone, I'd like to make a small change to the artifact version parsing. We currently have several released projects that use a non-standard version sch