Can I suggest trying maven jar:install-snapshot? That'll timestamp them,
which is perfect for nightlies.

Cheers,
Brett

> -----Original Message-----
> From: Jefferson K. French [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 7 January 2004 12:00 PM
> To: Maven Users List; [EMAIL PROTECTED]
> Subject: Re: Adding Build Numbers To Generated Artifacts?
> 
> 
> Yes. Change the value of maven.final.name in the artifact's 
> preGoal. Something like:
> 
>   <preGoal name="jar:jar">
>     <j:set var="maven.final.name" 
> value="${pom.artifactId}-${version}"/>
>     <ant:echo>Updating snapshot JAR to: ${maven.final.name}</ant:echo>
>   </preGoal>
> 
>   Jeff
> 
> On Wed, 07 Jan 2004, at 00:51:22 [GMT GMT] [EMAIL PROTECTED] wrote:
> 
> > Hi, is there a way to add a build number onto the generated 
> artifacts?  
> > This is mostly for the nightly builds.  For example, I 
> would like to 
> > have the following:
> 
> > productname-2.3.4.10.jar  (where 10 is the build number).
> 
> > Thanks in advance,
> 
> > -Conrad
> 
> 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -- 
> mailto:[EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to