- All Implemented Interfaces:
- org.apache.maven.plugins.shade.resource.ResourceTransformer
public class ServicesResourceTransformer
extends Object
implements org.apache.maven.plugins.shade.resource.ResourceTransformer
Resources transformer that appends entries in META-INF/services resources
into a single resource. For example, if there are several
META-INF/services/org.apache.maven.project.ProjectBuilder resources spread
across many JARs the individual entries will all be concatenated into a
single META-INF/services/org.apache.maven.project.ProjectBuilder resource
packaged into the resultant JAR produced by the shading process.
From following sources, only needed until MSHADE-182 gets released
* https://s.apache.org/vwjl (source in maven-shade-plugin repo)
* https://issues.apache.org/jira/secure/attachment/12718938/MSHADE-182.patch
Has been reformatted according to Hadoop checkstyle rules and modified
to meet Hadoop's threshold for Findbugs problems.