@Singleton @Named(value="dependency-sets") public class DependencySetAssemblyPhase extends Object implements AssemblyArchiverPhase, PhaseOrder
Constructor and Description |
---|
DependencySetAssemblyPhase(org.apache.maven.project.ProjectBuilder projectBuilder,
DependencyResolver dependencyResolver)
Injected ctor.
|
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() |
@Inject public DependencySetAssemblyPhase(org.apache.maven.project.ProjectBuilder projectBuilder, DependencyResolver dependencyResolver)
public void execute(Assembly assembly, org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource) throws ArchiveCreationException, AssemblyFormattingException, InvalidAssemblerConfigurationException, DependencyResolutionException
execute
in interface AssemblyArchiverPhase
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.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
public int order()
order
in interface PhaseOrder
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.