org.codehaus.mojo.minijar
Class UeberJarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.minijar.AbstractPluginMojo
org.codehaus.mojo.minijar.UeberJarMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public final class UeberJarMojo
- extends AbstractPluginMojo
Creates an ueberjar including all dependencies into one jar.
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 a combine jar of the dependencies and (as configured) also the build artifact |
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].
UeberJarMojo
public UeberJarMojo()
execute
public void execute(Set pRemovable,
Set pDependencies,
Set pRelocateDependencies)
throws org.apache.maven.plugin.MojoExecutionException
- Creates a combine jar of the dependencies and (as configured) also the build artifact
- Specified by:
execute
in class AbstractPluginMojo
- Parameters:
pRemovable
- Set of classes that can be removed
- Throws:
org.apache.maven.plugin.MojoExecutionException
- on error
Copyright © 2011 Codehaus. All Rights Reserved.