org.codehaus.mojo.minijar
Class UeberJarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.minijar.AbstractPluginMojo
          extended by 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  java.lang.String name
          Defines the pattern of the name of final ueber jar.
 
Fields inherited from class org.codehaus.mojo.minijar.AbstractPluginMojo
buildDirectory, excludeDependencies, excludeDependenciesInRelocation, includeDependencies, includeDependenciesInRelocation, keepUnusedClasses, keepUnusedClassesFromArtifacts, stripUnusedClasses
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UeberJarMojo()
           
 
Method Summary
 void execute(java.util.Set pRemovable, java.util.Set pDependencies, java.util.Set pRelocateDependencies)
          Creates a combine jar of the dependencies and (as configured) also the build artifact
 
Methods inherited from class org.codehaus.mojo.minijar.AbstractPluginMojo
execute, getProject, isInKeepUnusedClasses, isInKeepUnusedClassesFromArtifacts, replaceVariables
 
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
 

Field Detail

name

protected java.lang.String name
Defines the pattern of the name of final ueber jar. Possible substitutions are [artifactId] [version] and [groupId].

Constructor Detail

UeberJarMojo

public UeberJarMojo()
Method Detail

execute

public void execute(java.util.Set pRemovable,
                    java.util.Set pDependencies,
                    java.util.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 © 2009. All Rights Reserved.