org.apache.maven.plugin.assembly.mojos
Class AssemblyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
org.apache.maven.plugin.assembly.mojos.AssemblyMojo
- All Implemented Interfaces:
- AssemblerConfigurationSource, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Deprecated. Use assembly:single instead! The assembly:assembly mojo leads to non-standard builds.
@Deprecated
@Mojo(name="assembly",
aggregator=true,
inheritByDefault=false)
@Execute(phase=PACKAGE)
public class AssemblyMojo- extends AbstractAssemblyMojo
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.
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:single goal for binding your assembly to the lifecycle.
- Version:
- $Id: AssemblyMojo.java 1618908 2014-08-19 17:27:43Z khmarbaise $
- Author:
- John Casey, Brett Porter, Vincent Siveton
| 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 |
execute, getArchiveBaseDirectory, getArchiverConfig, getBasedir, getClassifier, getDelimiters, getDescriptor, getDescriptorId, getDescriptorReferences, getDescriptors, getDescriptorSourceDirectory, getEncoding, getEscapeString, getFilters, getFinalName, getJarArchiveConfiguration, getLocalRepository, getMavenFileFilter, getMavenReaderFilter, getMavenSession, getOutputDirectory, getProjectHelper, getReactorProjects, getRemoteRepositories, getSiteDirectory, getTarLongFileMode, getTemporaryRootDirectory, getWorkingDirectory, isAssemblyIdAppended, isDryRun, isIgnoreDirFormatExtensions, isIgnoreMissingDescriptor, isIgnorePermissions, isIncludeProjectBuildFilters, isSiteIncluded, isUpdateOnly, isUseJvmChmod, 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 |
AssemblyMojo
public AssemblyMojo()
- Deprecated.
getProject
public org.apache.maven.project.MavenProject getProject()
- Deprecated.
- Specified by:
getProject in interface AssemblerConfigurationSource- Specified by:
getProject in class AbstractAssemblyMojo
- Returns:
- The Maven Project.
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.