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]