You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by solo1970 <so...@ericsson.com> on 2009/06/01 17:39:23 UTC
SNAPSHOT version question
Hello All,
Need your expertise to tell me if anyone sees an issue in using .SNAPSHOT
instead of -SNAPSHOT in an artifact version. (The reason is because the
artifact name has to have a minimum amount of '-').
Example:
1.0.0.SNAPSHOT
I'd appreciate feedback
Sonia
--
View this message in context: http://www.nabble.com/SNAPSHOT-version-question-tp23817013p23817013.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: SNAPSHOT version question
Posted by Gordon Cody <gc...@zafinlabs.com>.
This question was asked/answered on Apr30.
The person who answered said "Use -SNAPSHOT"
Some plugins are more picky than others, so use the standard and spare
yourself some pain later.
The artifact, when it leaves your premises should be a released version,
so it should not have the SNAPSHOT suffix (with either dash or dot) anyway.
Regards, Gord
On Mon, Jun 1, 2009 at 11:39 AM, solo1970
<so...@ericsson.com> wrote:
>
> Hello All,
>
> Need your expertise to tell me if anyone sees an issue in using .SNAPSHOT
> instead of -SNAPSHOT in an artifact version. (The reason is because the
> artifact name has to have a minimum amount of '-').
>
> Example:
>
> 1.0.0.SNAPSHOT
>
> I'd appreciate feedback
>
> Sonia
> --
> View this message in context: http://www.nabble.com/SNAPSHOT-version-question-tp23817013p23817013.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: SNAPSHOT version question
Posted by Todd Thiessen <th...@nortel.com>.
I did do a quick test some time ago and my findings agree with Wayne's assertion here. ie: Maven treats .SNAPSHOT like a regular release version and not a snapshot version. Deploying a .SNAPSHOT version goes to the release repo. It must say -SNAPSHOT to deploy to a SNAPSHOT repo.
---
Todd Thiessen
> -----Original Message-----
> From: Wayne Fay [mailto:waynefay@gmail.com]
> Sent: Monday, June 01, 2009 3:08 PM
> To: Maven Users List
> Subject: Re: SNAPSHOT version question
>
> > Need your expertise to tell me if anyone sees an issue in using
> > .SNAPSHOT instead of -SNAPSHOT in an artifact version.
> (The reason is
> > because the artifact name has to have a minimum amount of '-').
>
> I believe Maven (at this point) is hard-coded to use
> -SNAPSHOT, so I don't think you will enjoy any of the
> benefits of snapshots if you try to use .SNAPSHOT instead.
> Maven will treat that just like any other version. Of course,
> I could be wrong -- I've never been interested in this myself.
>
> You're welcome to try it out -- and then probably come back
> here and report what you find. I'm not really sure this is
> worth bothering with, personally.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: SNAPSHOT version question
Posted by Wayne Fay <wa...@gmail.com>.
> Need your expertise to tell me if anyone sees an issue in using .SNAPSHOT
> instead of -SNAPSHOT in an artifact version. (The reason is because the
> artifact name has to have a minimum amount of '-').
I believe Maven (at this point) is hard-coded to use -SNAPSHOT, so I
don't think you will enjoy any of the benefits of snapshots if you try
to use .SNAPSHOT instead. Maven will treat that just like any other
version. Of course, I could be wrong -- I've never been interested in
this myself.
You're welcome to try it out -- and then probably come back here and
report what you find. I'm not really sure this is worth bothering
with, personally.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org