You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joerg Vater (JIRA)" <ji...@codehaus.org> on 2006/12/14 15:29:41 UTC
[jira] Updated: (MJAR-64) jar:jar ignores command line argument
-DfinalName=xxx
[ http://jira.codehaus.org/browse/MJAR-64?page=all ]
Joerg Vater updated MJAR-64:
----------------------------
Attachment: AbstractJarMojo.java.patch
Patch
> jar:jar ignores command line argument -DfinalName=xxx
> -----------------------------------------------------
>
> Key: MJAR-64
> URL: http://jira.codehaus.org/browse/MJAR-64
> Project: Maven 2.x Jar Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Joerg Vater
> Attachments: AbstractJarMojo.java.patch
>
>
> It should be possible to specify the name of a generated jar via command line parameter:
> mvn -DfinalName="xxx" jar:jar
> The following simple change in AbstractJarMojo.java allows to set finalName from the command line:
> /**
> * Name of the generated JAR.
> *
> * @parameter alias="jarName" expression="${finalName}" default-value="${project.build.finalName}"
> * @required
> */
> private String finalName;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira