You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2007/12/20 00:48:57 UTC

[jira] Updated: (MJAR-64) jar:jar ignores command line argument -DfinalName=xxx

     [ http://jira.codehaus.org/browse/MJAR-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MJAR-64:
-----------------------------

         Assignee: Olivier Lamy
    Fix Version/s: 2.2
       Issue Type: Improvement  (was: Bug)

> 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: Improvement
>    Affects Versions: 2.2
>            Reporter: Joerg Vater
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>
>         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