org.apache.maven.plugin.assembly.archive.phase
Class DependencySetAssemblyPhase
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.plugin.assembly.archive.phase.DependencySetAssemblyPhase
- All Implemented Interfaces:
- AssemblyArchiverPhase, PhaseOrder, org.codehaus.plexus.logging.LogEnabled
@Component(role=AssemblyArchiverPhase.class,
hint="dependency-sets")
public class DependencySetAssemblyPhase
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements AssemblyArchiverPhase, PhaseOrder
Handles the top-level <dependencySets/> section of the assembly descriptor.
- Version:
- $Id: DependencySetAssemblyPhase.java 1640245 2014-11-17 22:23:49Z hboutemy $
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencySetAssemblyPhase
public DependencySetAssemblyPhase()
- Default constructor.
DependencySetAssemblyPhase
public DependencySetAssemblyPhase(MavenProjectBuilder projectBuilder,
DependencyResolver dependencyResolver,
org.codehaus.plexus.logging.Logger logger)
- Parameters:
projectBuilder
- The Maven Project Builder.logger
- The Logger.
execute
public void execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource)
throws ArchiveCreationException,
AssemblyFormattingException,
InvalidAssemblerConfigurationException,
DependencyResolutionException
- Handle the associated section of the assembly descriptor.
- Specified by:
execute
in interface AssemblyArchiverPhase
- Parameters:
assembly
- The assembly descriptor to usearchiver
- The archiver used to create the assembly archive, to which files/directories/artifacts are
addedconfigSource
- The configuration for this assembly build, normally derived from the plugin that launched
the assembly process.
- Throws:
ArchiveCreationException
- in case of an archive creation error.
AssemblyFormattingException
- in case of a assembly formatting exception.
InvalidAssemblerConfigurationException
- in case of an invalid assembler configuration.
DependencyResolutionException
order
public int order()
- Specified by:
order
in interface PhaseOrder
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.