Class FileSetAssemblyPhase
- java.lang.Object
-
- org.apache.maven.plugins.assembly.archive.phase.FileSetAssemblyPhase
-
- All Implemented Interfaces:
AssemblyArchiverPhase,PhaseOrder
@Singleton @Named("file-sets") public class FileSetAssemblyPhase extends Object implements AssemblyArchiverPhase, PhaseOrderHandles the <fileSets/> top-level section of the assembly descriptor.
-
-
Constructor Summary
Constructors Constructor Description FileSetAssemblyPhase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Assembly assembly, org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource)Handle the associated section of the assembly descriptor.intorder()
-
-
-
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:
executein interfaceAssemblyArchiverPhase- 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.
-
order
public int order()
- Specified by:
orderin interfacePhaseOrder
-
-