org.apache.maven.plugins.shade
Class DefaultShader

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.plugins.shade.DefaultShader
All Implemented Interfaces:
Shader, org.codehaus.plexus.logging.LogEnabled

public class DefaultShader
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements Shader

Author:
Jason van Zyl
Plexus component:
instantiation-strategy:
"per-lookup"

Field Summary
 
Fields inherited from interface org.apache.maven.plugins.shade.Shader
ROLE
 
Constructor Summary
DefaultShader()
           
 
Method Summary
 void shade(Set jars, File uberJar, List filters, List relocators, List resourceTransformers)
          Perform a shading operation.
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultShader

public DefaultShader()
Method Detail

shade

public void shade(Set jars,
                  File uberJar,
                  List filters,
                  List relocators,
                  List resourceTransformers)
           throws IOException,
                  MojoExecutionException
Description copied from interface: Shader
Perform a shading operation.

Specified by:
shade in interface Shader
Parameters:
jars - which jars
uberJar - output jar
filters - the filters
relocators - the relocators
resourceTransformers - the transformers
Throws:
IOException - for IO errors reading the thing
MojoExecutionException - for anything else that goes wrong.


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.