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

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

Deprecated. Use assembly:single and an assembly with format == dir instead! This mojo is redundant.

@Mojo(name="directory-single",
      inheritByDefault=false)
@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 1639422 2014-11-13 18:08:07Z krosenvold $
Author:
John Casey, Gilles Scokart

Field Summary
 
Fields inherited from class org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
commanndLinePropertiesInterpolator, envInterpolator, mainProjectInterpolator, rootInterpolator
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DirectorySingleMojo()
          Deprecated.  
 
Method Summary
 MavenProject getProject()
          Deprecated.  
 
Methods inherited from class org.apache.maven.plugin.assembly.mojos.AbstractDirectoryMojo
execute
 
Methods inherited from class org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
getArchiveBaseDirectory, getArchiverConfig, getBasedir, getClassifier, getCommandLinePropsInterpolator, getDelimiters, getDescriptor, getDescriptorId, getDescriptorReferences, getDescriptors, getDescriptorSourceDirectory, getEncoding, getEnvInterpolator, getEscapeString, getFilters, getFinalName, getJarArchiveConfiguration, getLocalRepository, getMainProjectInterpolator, getMavenReaderFilter, getMavenSession, getOutputDirectory, getProjectHelper, getReactorProjects, getRemoteRepositories, getRepositoryInterpolator, getSiteDirectory, getTarLongFileMode, getTemporaryRootDirectory, getWorkingDirectory, isAssemblyIdAppended, isDryRun, isIgnoreDirFormatExtensions, isIgnoreMissingDescriptor, isIgnorePermissions, isIncludeProjectBuildFilters, isSiteIncluded, isUpdateOnly, isUseJvmChmod, mainProjectInterpolator, setAppendAssemblyId, setArchive, setBasedir, setClassifier, setDelimiters, 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

DirectorySingleMojo

public DirectorySingleMojo()
Deprecated. 
Method Detail

getProject

public MavenProject getProject()
Deprecated. 
Specified by:
getProject in interface AssemblerConfigurationSource
Specified by:
getProject in class AbstractAssemblyMojo
Returns:
The Maven Project.


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.