org.apache.maven.plugin.assembly.archive.phase
Class FileSetAssemblyPhase

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.apache.maven.plugin.assembly.archive.phase.FileSetAssemblyPhase
All Implemented Interfaces:
AssemblyArchiverPhase, org.codehaus.plexus.logging.LogEnabled

public class FileSetAssemblyPhase
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements AssemblyArchiverPhase

Handles the <fileSets/> top-level section of the assembly descriptor.

Version:
$Id: FileSetAssemblyPhase.java 698739 2008-09-24 21:14:38Z jdcasey $

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.assembly.archive.phase.AssemblyArchiverPhase
ROLE
 
Constructor Summary
FileSetAssemblyPhase()
           
 
Method Summary
 void execute(Assembly assembly, org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource)
          Handle the associated section of the assembly descriptor.
 void execute(Assembly assembly, org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource, AssemblyContext context)
          Handle the associated section of the assembly descriptor.
 
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
 

Constructor Detail

FileSetAssemblyPhase

public FileSetAssemblyPhase()
Method Detail

execute

public void execute(Assembly assembly,
                    org.codehaus.plexus.archiver.Archiver archiver,
                    AssemblerConfigurationSource configSource)
             throws ArchiveCreationException,
                    AssemblyFormattingException
Handle the associated section of the assembly descriptor.

Specified by:
execute in interface AssemblyArchiverPhase
Parameters:
assembly - The assembly descriptor to use
archiver - The archiver used to create the assembly archive, to which files/directories/artifacts are added
configSource - The configuration for this assembly build, normally derived from the plugin that launched the assembly process.
Throws:
ArchiveCreationException
AssemblyFormattingException

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 use
archiver - The archiver used to create the assembly archive, to which files/directories/artifacts are added
configSource - The configuration for this assembly build, normally derived from the plugin that launched the assembly process.
context - Context instance that contains the collected managed versions for dependencies, and potentially any caches that may be useful for the assembly process.
Throws:
ArchiveCreationException
AssemblyFormattingException


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.