Re: [m2] version resolution
Yes, probably : http://svn.apache.org/viewvc/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ArtifactVersion.java?view=markup - Yann 2006/7/21, Wayne Fay <[EMAIL PROTECTED]>: Not positive but this seems to be a good bet: maven-artifact-jar \ org \ apache \ maven \ artifact \ versioning Wayne On 7/21/06, Beyer,Nathan <[EMAIL PROTECTED]> wrote: > That's exactly what I was looking for, thanks. Do you, or anyone, happen > to know what Maven component implements this resolution? I'm curious. > > Thanks. > -Nathan > > -Original Message- > From: Yann Le Du [mailto:[EMAIL PROTECTED] > Sent: Friday, July 21, 2006 4:43 AM > To: Maven Users List > Subject: Re: [m2] version resolution > > Hi Nathan, > > I don't know if this is what you are looking for, but : > http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict > +Resolution > > - Yann > > 2006/7/18, Beyer,Nathan <[EMAIL PROTECTED]>: > > > > Is there a guide, document or piece of code that I can look at to > > determine the precedence of arbitrary version numbers? For example, > > given an arbitrary artifact with the following possible versions, what > > > would be the order of precedence? > > > > "10.0.0", "2.1.10", "1.0.0", "1.1.0", "1.0-alpha-1", "1.0-RC1", > > "1.1-alpha-1", "1.2.0" > > > > -Nathan > > > > > > - > > CONFIDENTIALITY NOTICE This message and any included attachments are > > from Cerner Corporation and are intended only for the addressee. The > > information contained in this message is confidential and may > > constitute inside or non-public information under international, > > federal, or state securities laws. > > Unauthorized forwarding, printing, copying, distribution, or use of > > such information is strictly prohibited and may be unlawful. If you > > are not the addressee, please promptly delete this message and notify > > the sender of the delivery error by e-mail or you may call Cerner's > > corporate offices in Kansas City, Missouri, U.S.A at (+1) > > (816)221-1024. --- > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] version resolution
Not positive but this seems to be a good bet: maven-artifact-jar \ org \ apache \ maven \ artifact \ versioning Wayne On 7/21/06, Beyer,Nathan <[EMAIL PROTECTED]> wrote: That's exactly what I was looking for, thanks. Do you, or anyone, happen to know what Maven component implements this resolution? I'm curious. Thanks. -Nathan -Original Message- From: Yann Le Du [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 4:43 AM To: Maven Users List Subject: Re: [m2] version resolution Hi Nathan, I don't know if this is what you are looking for, but : http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict +Resolution - Yann 2006/7/18, Beyer,Nathan <[EMAIL PROTECTED]>: > > Is there a guide, document or piece of code that I can look at to > determine the precedence of arbitrary version numbers? For example, > given an arbitrary artifact with the following possible versions, what > would be the order of precedence? > > "10.0.0", "2.1.10", "1.0.0", "1.1.0", "1.0-alpha-1", "1.0-RC1", > "1.1-alpha-1", "1.2.0" > > -Nathan > > > - > CONFIDENTIALITY NOTICE This message and any included attachments are > from Cerner Corporation and are intended only for the addressee. The > information contained in this message is confidential and may > constitute inside or non-public information under international, > federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and notify > the sender of the delivery error by e-mail or you may call Cerner's > corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. --- > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] version resolution
I do try to avoid them, but I want to understand them, as they seem to be used by the Maven plugins themselves quite often. -Nathan -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 9:35 AM To: Maven Users List Subject: Re: [m2] version resolution Not sure where exactly this is documented but I believe the order would/should be: 1.0-alpha-1 1.0-RC1 1.0.0 1.1-alpha-1 1.1.0 1.2.0 2.1.10 10.0.0 At least, this is how I would expect it to work. I generally do not use alpha and RC and instead use SNAPSHOT and full versions (1.1.2) instead. This way, I always know exactly what I'm going to get. I'd encourage you to do the same -- instead of embedding the alpha or RC in the version number, I'd just include a note "this is RC1" somewhere relevant. Wayne On 7/21/06, Yann Le Du <[EMAIL PROTECTED]> wrote: > Hi Nathan, > > I don't know if this is what you are looking for, but : > http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Confli > ct+Resolution > > - Yann > > 2006/7/18, Beyer,Nathan <[EMAIL PROTECTED]>: > > > > Is there a guide, document or piece of code that I can look at to > > determine the precedence of arbitrary version numbers? For example, > > given an arbitrary artifact with the following possible versions, > > what would be the order of precedence? > > > > "10.0.0", "2.1.10", "1.0.0", "1.1.0", "1.0-alpha-1", "1.0-RC1", > > "1.1-alpha-1", "1.2.0" > > > > -Nathan > > > > > > - > > CONFIDENTIALITY NOTICE This message and any included attachments are > > from Cerner Corporation and are intended only for the addressee. The > > information contained in this message is confidential and may > > constitute inside or non-public information under international, > > federal, or state securities laws. > > Unauthorized forwarding, printing, copying, distribution, or use of > > such information is strictly prohibited and may be unlawful. If you > > are not the addressee, please promptly delete this message and > > notify the sender of the delivery error by e-mail or you may call > > Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) > > (816)221-1024. --- > > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] version resolution
That's exactly what I was looking for, thanks. Do you, or anyone, happen to know what Maven component implements this resolution? I'm curious. Thanks. -Nathan -Original Message- From: Yann Le Du [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 4:43 AM To: Maven Users List Subject: Re: [m2] version resolution Hi Nathan, I don't know if this is what you are looking for, but : http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict +Resolution - Yann 2006/7/18, Beyer,Nathan <[EMAIL PROTECTED]>: > > Is there a guide, document or piece of code that I can look at to > determine the precedence of arbitrary version numbers? For example, > given an arbitrary artifact with the following possible versions, what > would be the order of precedence? > > "10.0.0", "2.1.10", "1.0.0", "1.1.0", "1.0-alpha-1", "1.0-RC1", > "1.1-alpha-1", "1.2.0" > > -Nathan > > > - > CONFIDENTIALITY NOTICE This message and any included attachments are > from Cerner Corporation and are intended only for the addressee. The > information contained in this message is confidential and may > constitute inside or non-public information under international, > federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and notify > the sender of the delivery error by e-mail or you may call Cerner's > corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. --- > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] version resolution
Not sure where exactly this is documented but I believe the order would/should be: 1.0-alpha-1 1.0-RC1 1.0.0 1.1-alpha-1 1.1.0 1.2.0 2.1.10 10.0.0 At least, this is how I would expect it to work. I generally do not use alpha and RC and instead use SNAPSHOT and full versions (1.1.2) instead. This way, I always know exactly what I'm going to get. I'd encourage you to do the same -- instead of embedding the alpha or RC in the version number, I'd just include a note "this is RC1" somewhere relevant. Wayne On 7/21/06, Yann Le Du <[EMAIL PROTECTED]> wrote: Hi Nathan, I don't know if this is what you are looking for, but : http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution - Yann 2006/7/18, Beyer,Nathan <[EMAIL PROTECTED]>: > > Is there a guide, document or piece of code that I can look at to > determine the precedence of arbitrary version numbers? For example, > given an arbitrary artifact with the following possible versions, what > would be the order of precedence? > > "10.0.0", "2.1.10", "1.0.0", "1.1.0", "1.0-alpha-1", "1.0-RC1", > "1.1-alpha-1", "1.2.0" > > -Nathan > > > - > CONFIDENTIALITY NOTICE This message and any included attachments > are from Cerner Corporation and are intended only for the > addressee. The information contained in this message is > confidential and may constitute inside or non-public information > under international, federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and > notify the sender of the delivery error by e-mail or you may call > Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. --- > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] version resolution
Hi Nathan, I don't know if this is what you are looking for, but : http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution - Yann 2006/7/18, Beyer,Nathan <[EMAIL PROTECTED]>: Is there a guide, document or piece of code that I can look at to determine the precedence of arbitrary version numbers? For example, given an arbitrary artifact with the following possible versions, what would be the order of precedence? "10.0.0", "2.1.10", "1.0.0", "1.1.0", "1.0-alpha-1", "1.0-RC1", "1.1-alpha-1", "1.2.0" -Nathan - CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] version resolution
Is there a guide, document or piece of code that I can look at to determine the precedence of arbitrary version numbers? For example, given an arbitrary artifact with the following possible versions, what would be the order of precedence? "10.0.0", "2.1.10", "1.0.0", "1.1.0", "1.0-alpha-1", "1.0-RC1", "1.1-alpha-1", "1.2.0" -Nathan - CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]