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]

Reply via email to