If I put maven.final.name=test in project.properties. And in project.xml I leave the following tag as shown: <currentVersion></currentVersion>
then output which gets created is test-.jar How to get rid of "dash" - ? thanks, Arun "Michael Owen" <[EMAIL PROTECTED]> 07/21/05 08:11 AM Please respond to "Maven Users List" <users@maven.apache.org> To users@maven.apache.org cc Subject RE: name of final jar file You can set a property which changes the final name. i.e.: maven.final.name=test The jar file made through "maven jar:jar" will then be named test.jar Mike P.S This is for maven 1 not maven 2 <br><br><br>>From: [EMAIL PROTECTED]<br>>Reply-To: "Maven Users List" <users@maven.apache.org><br>>To: users@maven.apache.org<br>>Subject: name of final jar file<br>>Date: Thu, 21 Jul 2005 08:02:05 -0400<br>><br>>Hi,<br>><br>>As you know, Maven appends the version with the name of the final JAR<br>>during building. We need to get rid of the version part and have the JARS<br>>retain their original name.<br>>Any suggestions with example?<br>><br>>Arun<br>><br>><br>><br>>-----------------------------------------<br>>***********************************************************************<br>> This E-mail is confidential. It may also be legally privileged. If you<br>> are not the addressee you may not copy, forward, disclose or use any<br>> part of it. If you have received this message in error, please delete<br>> it and all copies from your system and notify the sender immediately<br>> by return E-mail.<br>><br>> Internet communications cannot be guaranteed to be timely, secure,<br>> error or virus-free. The sender does not accept liability for any<br>> errors or omissions.<br>>***********************************************************************<br> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- ****************************************************************** This message originated from the Internet. Its originator may or may not be who they claim to be and the information contained in the message and any attachments may or may not be accurate. ******************************************************************