Class SingleAssemblyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo
org.apache.maven.plugins.assembly.mojos.SingleAssemblyMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo,- AssemblerConfigurationSource
@Mojo(name="single",
      requiresDependencyResolution=TEST,
      threadSafe=true)
public class SingleAssemblyMojo
extends AbstractAssemblyMojo
Assemble an application bundle or distribution from an assembly descriptor. This goal is suitable either for binding
 to the lifecycle or calling directly from the command line (provided all required files are available before the
 build starts, or are produced by another goal specified before this one on the command line).
 
Note that the parameters
Note that the parameters
descriptors, descriptorRefs, and descriptorSourceDirectory
 are disjoint, i.e., they are not combined during descriptor location calculation.- Author:
- John Casey, Brett Porter
- 
Field SummaryFields inherited from class org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojocommandLinePropertiesInterpolator, envInterpolator, mainProjectInterpolator, rootInterpolatorFields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()Create the binary distribution.org.apache.maven.project.MavenProjectMethods inherited from class org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojogetAdditionalProperties, getArchiveBaseDirectory, getArchiverConfig, getBasedir, getCommandLinePropsInterpolator, getDelimiters, getDescriptorReferences, getDescriptors, getDescriptorSourceDirectory, getEncoding, getEnvInterpolator, getEscapeString, getFilters, getFinalName, getInlineDescriptors, getJarArchiveConfiguration, getMainProjectInterpolator, getMavenReaderFilter, getMavenSession, getMergeManifestMode, getOutputDirectory, getOverrideGid, getOverrideGroupName, getOverrideUid, getOverrideUserName, getReactorProjects, getRepositoryInterpolator, getSiteDirectory, getTarLongFileMode, getTemporaryRootDirectory, getWorkingDirectory, isAssemblyIdAppended, isDryRun, isIgnoreDirFormatExtensions, isIgnoreMissingDescriptor, isIgnorePermissions, isIncludeProjectBuildFilters, isRecompressZippedFiles, isUpdateOnly, mainProjectInterpolator, setAppendAssemblyId, setArchive, setBasedir, setDelimiters, setDescriptorRefs, setDescriptors, setFilters, setFinalName, setOutputDirectory, setReactorProjects, setSiteDirectory, setTarLongFileMode, setTempRoot, setWorkDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Constructor Details- 
SingleAssemblyMojopublic SingleAssemblyMojo()
 
- 
- 
Method Details- 
executepublic void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionDescription copied from class:AbstractAssemblyMojoCreate the binary distribution.- Specified by:
- executein interface- org.apache.maven.plugin.Mojo
- Overrides:
- executein class- AbstractAssemblyMojo
- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
- 
getProjectpublic org.apache.maven.project.MavenProject getProject()- Returns:
- The Maven Project.
 
 
-