Hi,

Using <currentVersion>1.2-SNAPSHOT</currentVersion> is the correct way.
That will be the supported snapshot name schema in next versions.

Regards

Carlos Sanchez
A Coru�a, Spain

Oness Project
http://oness.sourceforge.net


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 29, 2004 10:59 AM
> To: Maven Users List
> Subject: versioned snapshot
> 
> In my own usage I need to have an indication of the version 
> who the snapshot is for. I'm not alone when I look at the 
> maven plugin.
> 
> The way I do this actually is to define version as :
>   <currentVersion>1.2-SNAPSHOT</currentVersion>
> And I produce with *:install task.
> 
> Is there a way to have some properties like 
> maven.use.version.snapshot=true to indicate that 
> *:install-snapshot produce an ${artifactId}-1.2-SNAPSHOT.* 
> when the <currentVersion>1.2</currentVersion>. Because 
> install stand for me to produce the final artifact and not a 
> snapshot one. On the other hand having a currentVersion like 
> 1.2-SNAPSHOT indicate that the project is not finalize.
> 
> Is this kind a thing is valide for you or not?
> 
> Nicolas
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to