org.apache.maven.plugin.assembly.mojos
Class DirectoryInlineMojo
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.DirectoryInlineMojo
- All Implemented Interfaces:
- AssemblerConfigurationSource, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Deprecated. Use goal: 'directory' (from the command line) or 'directory-single' (from a lifecycle binding) instead.
public class DirectoryInlineMojo
- extends AbstractDirectoryMojo
Like the assembly:attached
goal, assemble an application bundle
or distribution from an assembly descriptor,
WITHOUT first forcing Maven to build all POMs to the package
phase (as is required by the assembly:assembly
goal). This goal
differs from assembly:attached
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
).
This goal is also functionally equivalent to using the assembly:attached
goal in conjunction with the dir
assembly format.
NOTE: This goal should ONLY be run from the command line, and if building a multimodule project
it should be used from the root POM. Use the assembly:directory-single
goal for binding
your assembly to the lifecycle.
- Version:
- $Id: DirectoryInlineMojo.java 727187 2008-12-16 22:01:35Z jdcasey $
- Author:
- John Casey, Gilles Scokart
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, getFilters, getFinalName, getJarArchiveConfiguration, getLocalRepository, getMavenFileFilter, getMavenSession, getOutputDirectory, getProjectHelper, getReactorProjects, getRemoteRepositories, getSiteDirectory, getTarLongFileMode, getTemporaryRootDirectory, getWorkingDirectory, isAssemblyIdAppended, isDryRun, isIgnoreDirFormatExtensions, isIgnoreMissingDescriptor, isSiteIncluded, isThisTheExecutionRoot, 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 |
DirectoryInlineMojo
public DirectoryInlineMojo()
- Deprecated.
getProject
public org.apache.maven.project.MavenProject getProject()
- Deprecated.
- Specified by:
getProject
in interface AssemblerConfigurationSource
- Specified by:
getProject
in class AbstractAssemblyMojo
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.