org.apache.maven.plugin.assembly.mojos
Class AssemblyMojo

java.lang.Object
  extended byorg.apache.maven.plugin.AbstractMojo
      extended byorg.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
          extended byorg.apache.maven.plugin.assembly.mojos.AssemblyMojo
All Implemented Interfaces:
AssemblerConfigurationSource, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AssemblyMojo
extends AbstractAssemblyMojo

Assemble an application bundle or distribution from an assembly descriptor. This goal should be used from the command line, and if building a multimodule project it should be used from the root POM. Consider using assembly:attached or assembly:single for binding assembly generation to the lifecycle.

Version:
$Id: AssemblyMojo.java 612151 2008-01-15 16:39:48Z wsmoak $
Author:
Brett Porter, Vincent Siveton

Field Summary
 
Fields inherited from class org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
appendAssemblyId, descriptor, descriptorId, filters, ignoreMissingDescriptor
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AssemblyMojo()
           
 
Method Summary
 org.apache.maven.project.MavenProject getProject()
           
 
Methods inherited from class org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
execute, getArchiveBaseDirectory, getAssemblyArchiver, getAssemblyReader, getBasedir, getClassifier, getDescriptor, getDescriptorId, getDescriptorReferences, getDescriptors, getDescriptorSourceDirectory, getFilters, getFinalName, getJarArchiveConfiguration, getLocalRepository, getOutputDirectory, getProjectHelper, getReactorProjects, getRemoteRepositories, getSiteDirectory, getTarLongFileMode, getTemporaryRootDirectory, getWorkingDirectory, isAssemblyIdAppended, isDryRun, isIgnoreDirFormatExtensions, isIgnoreMissingDescriptor, isSiteIncluded, setAppendAssemblyId, setArchive, setArchiveBaseDirectory, setAssemblyArchiver, setAssemblyReader, setBasedir, setClassifier, setDescriptor, setDescriptorId, setDescriptorRefs, setDescriptors, setDescriptorSourceDirectory, setFilters, setFinalName, setIgnoreMissingDescriptor, setIncludeSite, setLocalRepository, setOutputDirectory, setProjectHelper, setReactorProjects, setSiteDirectory, setTarLongFileMode, setTempRoot, setWorkDirectory
 
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

AssemblyMojo

public AssemblyMojo()
Method Detail

getProject

public org.apache.maven.project.MavenProject getProject()
Specified by:
getProject in interface AssemblerConfigurationSource
Specified by:
getProject in class AbstractAssemblyMojo


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