@Component(role=AssemblyArchiverPhase.class, hint="repositories") public class RepositoryAssemblyPhase extends org.codehaus.plexus.logging.AbstractLogEnabled implements AssemblyArchiverPhase, PhaseOrder
| Modifier and Type | Field and Description |
|---|---|
private RepositoryAssembler |
repositoryAssembler |
ROLE| Constructor and Description |
|---|
RepositoryAssemblyPhase() |
RepositoryAssemblyPhase(RepositoryAssembler repositoryAssembler) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource)
Handle the associated section of the assembly descriptor.
|
int |
order() |
private RepositoryBuilderConfigSource |
wrap(AssemblerConfigurationSource configSource) |
private RepositoryInfo |
wrap(Repository repository) |
@Requirement private RepositoryAssembler repositoryAssembler
public RepositoryAssemblyPhase()
public RepositoryAssemblyPhase(RepositoryAssembler repositoryAssembler)
public void execute(Assembly assembly, org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource) throws ArchiveCreationException, AssemblyFormattingException, InvalidAssemblerConfigurationException
execute in interface AssemblyArchiverPhaseassembly - 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.ArchiveCreationException - in case of an archive
creation error.AssemblyFormattingException - in case of a assembly
formatting exception.InvalidAssemblerConfigurationException - in case of an invalid
assembler configuration.private RepositoryBuilderConfigSource wrap(AssemblerConfigurationSource configSource)
private RepositoryInfo wrap(Repository repository)
public int order()
order in interface PhaseOrder