org.fusesource.mvnplugins.uberize
public class DefaultUberizer extends org.codehaus.plexus.logging.AbstractLogEnabled implements Uberizer
Constructor and Description |
---|
DefaultUberizer() |
Modifier and Type | Method and Description |
---|---|
HashMap<String,String> |
getClassRelocations()
Transformations which re-map classes should updated this map.
|
File |
pickOneSource(TreeMap<String,UberEntry> tree,
UberEntry entry)
When a transformation can't aggregate multiple sources
for an entry..
|
static File |
prepareFile(File basedir,
String path) |
void |
uberize(File targetDir,
Set sourceJars,
File uberJar,
List<Filter> filters,
List<Transformer> transformers)
Creates an uber jar from the source jars.
|
static File |
writeFile(File basedir,
String path,
InputStream is) |
public void uberize(File targetDir, Set sourceJars, File uberJar, List<Filter> filters, List<Transformer> transformers) throws IOException
Uberizer
uberize
in interface Uberizer
IOException
public File pickOneSource(TreeMap<String,UberEntry> tree, UberEntry entry) throws IOException
Uberizer
pickOneSource
in interface Uberizer
IOException
public HashMap<String,String> getClassRelocations()
Uberizer
getClassRelocations
in interface Uberizer
public static File writeFile(File basedir, String path, InputStream is) throws IOException
IOException
public static File prepareFile(File basedir, String path) throws IOException
IOException
Copyright © 2009-2013 FuseSource. All Rights Reserved.