dzikoysk created MSHADE-358:
-------------------------------

             Summary: Support directories/wildcards by AppendingTransformer
                 Key: MSHADE-358
                 URL: https://issues.apache.org/jira/browse/MSHADE-358
             Project: Maven Shade Plugin
          Issue Type: Improvement
            Reporter: dzikoysk


At this moment, 
[AppendingTransformer|https://github.com/apache/maven-shade-plugin/blob/master/src/main/java/org/apache/maven/plugins/shade/resource/AppendingTransformer.java]
 supports only specific files that we list in the configuration. It causes 
problems if we don't know names of files that we want to merge (a lot of e.g. 
annotation scanning libraries uses class names without any extensions).  To 
solve this problem the transformer could just simply accept directories as 
resource or wildcards in resource names.


{code:java}
<transformer 
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
    <resource>META-INF/annotations/*</resource>
</transformer>
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to