Class ServicesResourceTransformer

  • All Implemented Interfaces:
    ResourceTransformer

    public class ServicesResourceTransformer
    extends Object
    implements ResourceTransformer
    Resources transformer that relocates classes in META-INF/services and 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.