@Component(role=AssemblyArchiverPhase.class, hint="module-sets") public class ModuleSetAssemblyPhase extends org.codehaus.plexus.logging.AbstractLogEnabled implements AssemblyArchiverPhase
Modifier and Type | Field and Description |
---|---|
static String |
LINE_SEPARATOR |
ROLE
Constructor and Description |
---|
ModuleSetAssemblyPhase() |
ModuleSetAssemblyPhase(MavenProjectBuilder projectBuilder,
org.codehaus.plexus.logging.Logger logger) |
Modifier and Type | Method and Description |
---|---|
protected void |
addModuleArtifact(Artifact artifact,
MavenProject project,
Archiver archiver,
AssemblerConfigurationSource configSource,
ModuleBinaries binaries) |
protected void |
addModuleBinaries(ModuleBinaries binaries,
Set<MavenProject> projects,
Archiver archiver,
AssemblerConfigurationSource configSource,
AssemblyContext context) |
protected void |
addModuleSourceFileSets(ModuleSources sources,
Set<MavenProject> moduleProjects,
Archiver archiver,
AssemblerConfigurationSource configSource) |
protected FileSet |
createFileSet(FileSet fileSet,
ModuleSources sources,
MavenProject moduleProject,
AssemblerConfigurationSource configSource) |
void |
execute(Assembly assembly,
Archiver archiver,
AssemblerConfigurationSource configSource,
AssemblyContext context)
Handle the associated section of the assembly descriptor.
|
static List<DependencySet> |
getDependencySets(ModuleBinaries binaries) |
static Set<MavenProject> |
getModuleProjects(ModuleSet moduleSet,
AssemblerConfigurationSource configSource,
org.codehaus.plexus.logging.Logger logger) |
protected boolean |
isDeprecatedModuleSourcesConfigPresent(ModuleSources sources)
Determine whether the deprecated file-set configuration directly within the ModuleSources object is present.
|
public static final String LINE_SEPARATOR
public ModuleSetAssemblyPhase()
public ModuleSetAssemblyPhase(MavenProjectBuilder projectBuilder, org.codehaus.plexus.logging.Logger logger)
public void execute(Assembly assembly, Archiver archiver, AssemblerConfigurationSource configSource, AssemblyContext context) throws ArchiveCreationException, AssemblyFormattingException, InvalidAssemblerConfigurationException
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
AssemblyFormattingException
InvalidAssemblerConfigurationException
protected void addModuleBinaries(ModuleBinaries binaries, Set<MavenProject> projects, Archiver archiver, AssemblerConfigurationSource configSource, AssemblyContext context) throws ArchiveCreationException, AssemblyFormattingException, InvalidAssemblerConfigurationException
public static List<DependencySet> getDependencySets(ModuleBinaries binaries)
protected void addModuleArtifact(Artifact artifact, MavenProject project, Archiver archiver, AssemblerConfigurationSource configSource, ModuleBinaries binaries) throws ArchiveCreationException, AssemblyFormattingException
protected void addModuleSourceFileSets(ModuleSources sources, Set<MavenProject> moduleProjects, Archiver archiver, AssemblerConfigurationSource configSource) throws ArchiveCreationException, AssemblyFormattingException
protected boolean isDeprecatedModuleSourcesConfigPresent(ModuleSources sources)
protected FileSet createFileSet(FileSet fileSet, ModuleSources sources, MavenProject moduleProject, AssemblerConfigurationSource configSource) throws AssemblyFormattingException
AssemblyFormattingException
public static Set<MavenProject> getModuleProjects(ModuleSet moduleSet, AssemblerConfigurationSource configSource, org.codehaus.plexus.logging.Logger logger) throws ArchiveCreationException
ArchiveCreationException
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.