org.fusesource.mvnplugins.uberize.transformer
Class ServicesAppender
java.lang.Object
org.fusesource.mvnplugins.uberize.transformer.AbstractTransformer
org.fusesource.mvnplugins.uberize.transformer.ServicesAppender
- All Implemented Interfaces:
- Transformer
public class ServicesAppender
- extends AbstractTransformer
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.
- Author:
- jvanzyl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicesAppender
public ServicesAppender()
matches
protected boolean matches(String resource)
- Specified by:
matches
in class AbstractTransformer
process
protected UberEntry process(Uberizer uberizer,
UberEntry entry,
File target)
throws IOException
- Specified by:
process
in class AbstractTransformer
- Throws:
IOException
Copyright © 2009-2011 FuseSource. All Rights Reserved.