org.apache.maven.plugin.assembly.mojos
Class AttachedAssemblyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo
org.apache.maven.plugin.assembly.mojos.AttachedAssemblyMojo
- All Implemented Interfaces:
- AssemblerConfigurationSource, ContextEnabled, Mojo
Deprecated. Use assembly:single instead! The assembly:attached mojo leads to non-standard builds.
@Mojo(name="attached",
aggregator=true,
inheritByDefault=false)
@Deprecated
public class AttachedAssemblyMojo
- extends AbstractAssemblyMojo
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).
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: AttachedAssemblyMojo.java 1359773 2012-07-10 16:43:50Z tchemit $
- Author:
- John Casey, Jerome Lacoste
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo |
execute, getArchiveBaseDirectory, getArchiverConfig, getAssemblyArchiver, getAssemblyReader, getBasedir, getClassifier, getDescriptor, getDescriptorId, getDescriptorReferences, getDescriptors, getDescriptorSourceDirectory, getEncoding, getEscapeString, getFilters, getFinalName, getJarArchiveConfiguration, getLocalRepository, getMavenFileFilter, getMavenSession, getOutputDirectory, getProjectHelper, getReactorProjects, getRemoteRepositories, getSiteDirectory, getTarLongFileMode, getTemporaryRootDirectory, getWorkingDirectory, isAssemblyIdAppended, isDryRun, isIgnoreDirFormatExtensions, isIgnoreMissingDescriptor, isIgnorePermissions, isRecompressZippedFiles, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachedAssemblyMojo
public AttachedAssemblyMojo()
- Deprecated.
getProject
public 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.