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
Uberizeruberize in interface UberizerIOExceptionpublic File pickOneSource(TreeMap<String,UberEntry> tree, UberEntry entry) throws IOException
UberizerpickOneSource in interface UberizerIOExceptionpublic HashMap<String,String> getClassRelocations()
UberizergetClassRelocations in interface Uberizerpublic static File writeFile(File basedir, String path, InputStream is) throws IOException
IOExceptionpublic static File prepareFile(File basedir, String path) throws IOException
IOExceptionCopyright © 2009–2017 FuseSource. All rights reserved.