You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ar...@us.hsbc.com on 2005/07/21 14:02:05 UTC
name of final jar file
Hi,
As you know, Maven appends the version with the name of the final JAR
during building. We need to get rid of the version part and have the JARS
retain their original name.
Any suggestions with example?
Arun
-----------------------------------------
***********************************************************************
This E-mail is confidential. It may also be legally privileged. If you
are not the addressee you may not copy, forward, disclose or use any
part of it. If you have received this message in error, please delete
it and all copies from your system and notify the sender immediately
by return E-mail.
Internet communications cannot be guaranteed to be timely, secure,
error or virus-free. The sender does not accept liability for any
errors or omissions.
***********************************************************************
Re: name of final jar file
Posted by Nicolas Chalumeau <ni...@gmail.com>.
You can use maven.jar.final.name to redefine the jar name
Nicolas
2005/7/21, Arun.Mehta@us.hsbc.com <Ar...@us.hsbc.com>:
> Hi,
>
> As you know, Maven appends the version with the name of the final JAR
> during building. We need to get rid of the version part and have the JARS
> retain their original name.
> Any suggestions with example?
>
> Arun
>
>
>
> -----------------------------------------
> ***********************************************************************
> This E-mail is confidential. It may also be legally privileged. If you
> are not the addressee you may not copy, forward, disclose or use any
> part of it. If you have received this message in error, please delete
> it and all copies from your system and notify the sender immediately
> by return E-mail.
>
> Internet communications cannot be guaranteed to be timely, secure,
> error or virus-free. The sender does not accept liability for any
> errors or omissions.
> ***********************************************************************
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: name of final jar file
Posted by Gisbert Amm <gi...@webde-ag.de>.
maven.jar.final.name=test.jar ?
Regards,
Gisbert Amm
Arun.Mehta@us.hsbc.com 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" <mi...@hotmail.com>
> 07/21/05 08:11 AM
> Please respond to
> "Maven Users List" <us...@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: Arun.Mehta@us.hsbc.com<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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> -----------------------------------------
> ******************************************************************
> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: name of final jar file
Posted by Ar...@us.hsbc.com.
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" <mi...@hotmail.com>
07/21/05 08:11 AM
Please respond to
"Maven Users List" <us...@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: Arun.Mehta@us.hsbc.com<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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
-----------------------------------------
******************************************************************
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.
******************************************************************
RE: name of final jar file
Posted by Michael Owen <mi...@hotmail.com>.
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: Arun.Mehta@us.hsbc.com<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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org