You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2013/05/12 23:29:53 UTC

[jira] (MSHADE-133) DontIncludeResourceTransformer only recognizes a single resource element

     [ 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