org.apache.maven.plugin.assembly
Class SingleAssemblyMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.assembly.AbstractUnpackingMojo
          extended by org.apache.maven.plugin.assembly.AbstractAssemblyMojo
              extended by org.apache.maven.plugin.assembly.SingleAssemblyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class SingleAssemblyMojo
extends AbstractAssemblyMojo

Assemble an application bundle or distribution from an assembly descriptor. Do not specify a phase, so make it usable in a reactor environment where forking would create issues. Do not specify it as an aggregator, so it is only for a single project. Both cases aid it in working around issues with the Maven lifecycle that should be addressed in Maven 2.1.

Version:
$Id: SingleAssemblyMojo.java 400099 2006-05-05 16:19:12Z brett $
Author:
Brett Porter

Field Summary
 
Fields inherited from class org.apache.maven.plugin.assembly.AbstractAssemblyMojo
appendAssemblyId, descriptor, descriptorId, filters
 
Fields inherited from class org.apache.maven.plugin.assembly.AbstractUnpackingMojo
archiverManager, artifactResolver, classifier, EMPTY_STRING_ARRAY, finalName, localRepository, outputDirectory, project, reactorProjects, workDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SingleAssemblyMojo()
           
 
Method Summary
protected  org.apache.maven.project.MavenProject getExecutedProject()
           
 
Methods inherited from class org.apache.maven.plugin.assembly.AbstractAssemblyMojo
createArchive, execute, getDistributionName, processDependencySets, processFileList, processFileSets, readAssemblies
 
Methods inherited from class org.apache.maven.plugin.assembly.AbstractUnpackingMojo
getClassifier, getDependencies, unpack
 
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
 

Constructor Detail

SingleAssemblyMojo

public SingleAssemblyMojo()
Method Detail

getExecutedProject

protected org.apache.maven.project.MavenProject getExecutedProject()
Specified by:
getExecutedProject in class AbstractUnpackingMojo


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.