org.apache.maven.plugin.assembly.archive.phase
Class FileItemAssemblyPhase
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.plugin.assembly.archive.phase.FileItemAssemblyPhase
- All Implemented Interfaces:
- AssemblyArchiverPhase, org.codehaus.plexus.logging.LogEnabled
@Component(role=AssemblyArchiverPhase.class,
hint="file-items")
public class FileItemAssemblyPhase
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements AssemblyArchiverPhase
Handles the top-level <files/> section of the assembly descriptor.
- Version:
- $Id: FileItemAssemblyPhase.java 1163853 2011-08-31 22:42:32Z jdcasey $
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 |
FileItemAssemblyPhase
public FileItemAssemblyPhase()
execute
public void execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource,
AssemblyContext context)
throws ArchiveCreationException,
AssemblyFormattingException
- 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
AssemblyFormattingException
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.