maven.jar.final.name=test.jar ?

Regards,
Gisbert Amm

[EMAIL PROTECTED] wrote:
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" <[email protected]>


To
[email protected]
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>&gt;From: [EMAIL PROTECTED]<br>&gt;Reply-To: &quot;Maven Users List&quot; &lt;[email protected]&gt;<br>&gt;To: [email protected]<br>&gt;Subject: name of final jar file<br>&gt;Date: Thu, 21 Jul 2005 08:02:05 -0400<br>&gt;<br>&gt;Hi,<br>&gt;<br>&gt;As you know, Maven appends the version with the name of the final JAR<br>&gt;during building. We need to get rid of the version part and have the JARS<br>&gt;retain their original name.<br>&gt;Any suggestions with example?<br>&gt;<br>&gt;Arun<br>&gt;<br>&gt;<br>&gt;<br>&gt;-----------------------------------------<br>&gt;***********************************************************************<br>&gt; This E-mail is confidential. It may also be legally privileged. If you<br>&gt; are not the addressee you may not copy, forward, disclose or use any<br>&gt; part of it. If you have received this message in error, please delete<br>&gt; it and all copies from your system and notify the sender immediately<br>&gt; by return E-mail.<br>&gt;<br>&gt; Internet communications cannot be guaranteed to be timely, secure,<br>&gt; error or virus-free. The sender does not accept liability for any<br>&gt; errors or omissions.<br>&gt;***********************************************************************<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.
******************************************************************




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to