Clinton Foster created MSHADE-133:
-------------------------------------

             Summary: DontIncludeResourceTransformer only recognizes a single 
resource element
                 Key: MSHADE-133
                 URL: https://jira.codehaus.org/browse/MSHADE-133
             Project: Maven 2.x Shade Plugin
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Clinton Foster
            Priority: Minor


When I code the following, only one of the two resources is excluded:
{code:xml}
<transformers>
        <transformer
                
implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
                <resource>myConfig.yml</resource>
                <resource>logback.xml</resource>
        </transformer>
</transformers>
{code}

It only works if the DontIncludeResourceTransformer transfer element is 
repeated for each resource:
{code:xml}
<transformers>
        <transformer
                
implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
                <resource>myConfig.yml</resource>
        </transformer>
        <transformer
                
implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
                <resource>logback.xml</resource>
        </transformer>
</transformers>
{code}
Is this working as designed?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to