You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael McCallum (JIRA)" <ji...@codehaus.org> on 2008/07/15 23:21:27 UTC

[jira] Created: (MWAR-163) The outputFilenameMapping does not apply to the artifact of the current project

The outputFilenameMapping does not apply to the artifact of the current project
-------------------------------------------------------------------------------

                 Key: MWAR-163
                 URL: http://jira.codehaus.org/browse/MWAR-163
             Project: Maven 2.x War Plugin
          Issue Type: Bug
    Affects Versions: 2.1-alpha-1
         Environment: All
            Reporter: Michael McCallum
         Attachments: artifact-factory-for-rename.patch

When packaging classes up into the war, the name for the created jar does not use the outputFileNameMapping

Attached is a patch that uses the artifact factry to generate the artifact name and uses the final name method to figure out the final name of  the jar in the war

-- 
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

        

[jira] Closed: (MWAR-163) The outputFilenameMapping does not apply to the artifact of the current project

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MWAR-163.
--------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: 2.1

I have applied the patch with some minor changes:
* Needed to catch an exception, that wasn't handled by the patch
* Reformated the code to our style

Thank you very much!

> The outputFilenameMapping does not apply to the artifact of the current project
> -------------------------------------------------------------------------------
>
>                 Key: MWAR-163
>                 URL: http://jira.codehaus.org/browse/MWAR-163
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1-alpha-1
>         Environment: All
>            Reporter: Michael McCallum
>            Assignee: Dennis Lundberg
>             Fix For: 2.1
>
>         Attachments: artifact-factory-for-rename.patch
>
>
> When packaging classes up into the war, the name for the created jar does not use the outputFileNameMapping
> Attached is a patch that uses the artifact factry to generate the artifact name and uses the final name method to figure out the final name of  the jar in the war

-- 
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