|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
org.apache.maven.plugin.assembly.mojos.AbstractDirectoryMojo
org.apache.maven.plugin.assembly.mojos.DirectoryMojo
public class DirectoryMojo
Like the assembly:attached
goal, assemble an application bundle
or distribution using an assembly descriptor from the command line.
This goal will force Maven to build all included POMs up to the package
phase BEFORE
the assembly is processed. This goal
differs from assembly:assembly
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:assembly
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.
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 | |
---|---|
DirectoryMojo()
|
Method Summary | |
---|---|
org.apache.maven.project.MavenProject |
getProject()
|
Methods inherited from class org.apache.maven.plugin.assembly.mojos.AbstractDirectoryMojo |
---|
execute |
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 |
---|
public DirectoryMojo()
Method Detail |
---|
public org.apache.maven.project.MavenProject getProject()
getProject
in interface AssemblerConfigurationSource
getProject
in class AbstractAssemblyMojo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |