Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

AppendingTransformer in maven shade plugin to support pattern matches?

$
0
0
Hello,

The org.apache.maven.plugins.shade.resource.AppendingTransformer in the
maven shade plugin (v 2.0) only supports exact resource name matches for
appending resources for the uber jar. Do you guys see any problems if this
this supports patterns that might be able to do it for a bunch of resources
at a time, rather than repeating the names of the files:

<transformer
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.*</resource>
</transformer>

instead of

<transformer
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.handlers</resource>
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.schemas</resource>
</transformer>

If you don't see a problem, I can go ahead and propose a patch for it.

Thanks in advance!

Viewing all articles
Browse latest Browse all 5648

Trending Articles