You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/02/03 23:22:58 UTC

[jira] Created: (MSHADE-17) files from main artifact JAR should override those from dependant JARs if there is no transformer

files from main artifact JAR should override those from dependant JARs if there is no transformer
-------------------------------------------------------------------------------------------------

                 Key: MSHADE-17
                 URL: http://jira.codehaus.org/browse/MSHADE-17
             Project: Maven 2.x Shade Plugin
          Issue Type: Bug
    Affects Versions: 1.0-beta-1
            Reporter: Brett Porter


currently the first encountered file is included for things such as META-INF/LICENSE, but the one from the main JAR should always be included.


-- 
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: (MSHADE-17) files from main artifact JAR should override those from dependant JARs if there is no transformer

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHADE-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp closed MSHADE-17.
-----------------------------

         Assignee: Daniel Kulp
       Resolution: Fixed
    Fix Version/s: 1.0-beta-2

I've moved the project jar to the front of the list of artifacts.   Thus, that should allow the project artifacts to always "win".   Also, the transformers will know that the first time they are called, it's the project artifact.

I've removed the code that was put in place for MSHADE-16 since it is now not needed as the MANIFEST from the project jar will win.   That SHOULD also allow writing a Manifest transformer.

> files from main artifact JAR should override those from dependant JARs if there is no transformer
> -------------------------------------------------------------------------------------------------
>
>                 Key: MSHADE-17
>                 URL: http://jira.codehaus.org/browse/MSHADE-17
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0-beta-1
>            Reporter: Brett Porter
>            Assignee: Daniel Kulp
>             Fix For: 1.0-beta-2
>
>
> currently the first encountered file is included for things such as META-INF/LICENSE, but the one from the main JAR should always be included.

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