org.apache.maven.plugin.assembly.archive.phase
Interface AssemblyArchiverPhase

All Known Implementing Classes:
DependencySetAssemblyPhase, FileItemAssemblyPhase, FileSetAssemblyPhase, ModuleSetAssemblyPhase, RepositoryAssemblyPhase

public interface AssemblyArchiverPhase

Handles one top-level section of the assembly descriptor, to determine which files to include in the assembly archive for that section.

Version:
$Id: AssemblyArchiverPhase.java 728546 2008-12-21 22:56:51Z bentmann $

Field Summary
static String ROLE
           
 
Method Summary
 void execute(Assembly assembly, org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource)
          Deprecated. Use execute(Assembly, Archiver, AssemblerConfigurationSource, AssemblyContext) instead. This method should be the equivalent of calling the new execute() method with a newly-minted instance of DefaultAssemblyContext.
 void execute(Assembly assembly, org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource, AssemblyContext context)
          Handle the associated section of the assembly descriptor.
 

Field Detail

ROLE

static final String ROLE
Method Detail

execute

void execute(Assembly assembly,
             org.codehaus.plexus.archiver.Archiver archiver,
             AssemblerConfigurationSource configSource)
             throws ArchiveCreationException,
                    AssemblyFormattingException,
                    InvalidAssemblerConfigurationException
Deprecated. Use execute(Assembly, Archiver, AssemblerConfigurationSource, AssemblyContext) instead. This method should be the equivalent of calling the new execute() method with a newly-minted instance of DefaultAssemblyContext.

Handle the associated section of the assembly descriptor.

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
InvalidAssemblerConfigurationException

execute

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

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
InvalidAssemblerConfigurationException


Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.