org.apache.maven.plugin.assembly.mojos
Class DirectorySingleMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
org.apache.maven.plugin.assembly.mojos.AbstractDirectoryMojo
org.apache.maven.plugin.assembly.mojos.DirectorySingleMojo
- All Implemented Interfaces:
- AssemblerConfigurationSource, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Deprecated. Use assembly:single and an assembly with format == dir instead! This mojo is redundant.
@Deprecated
public class DirectorySingleMojo
- extends AbstractDirectoryMojo
Like the assembly:attached
goal, 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).
This goal differs from assembly:single
in that it ignores the <formats/> section of the assembly
descriptor, and forces the assembly to be created as a directory in the project's build-output directory (usually
./target
).
- Version:
- $Id: DirectorySingleMojo.java 999625 2010-09-21 20:40:39Z jdcasey $
- Author:
- John Casey, Gilles Scokart
- Is defined by the goal name:
- directory-single
- Is this Mojo inherited:
- false
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
org.apache.maven.project.MavenProject |
getProject()
Deprecated. |
Methods inherited from class org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo |
getArchiveBaseDirectory, getArchiverConfig, getAssemblyArchiver, getAssemblyReader, getBasedir, getClassifier, getDescriptor, getDescriptorId, getDescriptorReferences, getDescriptors, getDescriptorSourceDirectory, getEncoding, getFilters, getFinalName, getJarArchiveConfiguration, getLocalRepository, getMavenFileFilter, getMavenSession, getOutputDirectory, getProjectHelper, getReactorProjects, getRemoteRepositories, getSiteDirectory, getTarLongFileMode, getTemporaryRootDirectory, getWorkingDirectory, isAssemblyIdAppended, isDryRun, isIgnoreDirFormatExtensions, isIgnoreMissingDescriptor, isIgnorePermissions, isSiteIncluded, isThisTheExecutionRoot, isUpdateOnly, isUseJvmChmod, 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 |
DirectorySingleMojo
public DirectorySingleMojo()
- Deprecated.
getProject
public org.apache.maven.project.MavenProject getProject()
- Deprecated.
- Specified by:
getProject
in interface AssemblerConfigurationSource
- Specified by:
getProject
in class AbstractAssemblyMojo
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.