Interface AssemblyArchiverPhase
- All Known Implementing Classes:
DependencySetAssemblyPhase,FileItemAssemblyPhase,FileSetAssemblyPhase,ModuleSetAssemblyPhase
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Assembly assembly, org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource) Handle the associated section of the assembly descriptor.
-
Method Details
-
execute
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.- 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
-