[ 
https://jira.codehaus.org/browse/MSHADE-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated MSHADE-133:
----------------------------------

    Issue Type: Improvement  (was: Bug)
    
> 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: Improvement
>    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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to