org.codehaus.mojo.minijar
Class MiniJarsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.minijar.AbstractPluginMojo
          extended by 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 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
MiniJarsMojo()
           
 
Method Summary
 void execute(Set pRemovable, Set pDependencies, Set pRelocateDependencies)
          Creates individual stripped jars of the dependencies
 
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 String name
Defines the pattern of the name of final ueber jar. Possible substitutions are [artifactId] [version] and [groupId].

Constructor Detail

MiniJarsMojo

public MiniJarsMojo()
Method Detail

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.