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:[email protected]] > 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
