org.codehaus.mojo.minijar
Class MiniJarsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.minijar.AbstractPluginMojo
org.codehaus.mojo.minijar.MiniJarsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public final class MiniJarsMojo
- extends AbstractPluginMojo
Creates stripped down versions of the dependencies.
Field Summary |
protected String |
name
Defines the pattern of the name of final ueber jar. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute(Set pRemovable,
Set pDependencies,
Set pRelocateDependencies)
Creates individual stripped jars of the dependencies |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
- Defines the pattern of the name of final ueber jar.
Possible substitutions are [artifactId] [version] and [groupId].
MiniJarsMojo
public MiniJarsMojo()
execute
public void execute(Set pRemovable,
Set pDependencies,
Set pRelocateDependencies)
throws org.apache.maven.plugin.MojoExecutionException
- Creates individual stripped jars of the dependencies
- Specified by:
execute
in class AbstractPluginMojo
- Parameters:
pRemovable
- Set of classes that are supposed to be removed
- Throws:
org.apache.maven.plugin.MojoExecutionException
- on error
Copyright © 2011 Codehaus. All Rights Reserved.