public class AddDependencySetsTask extends Object implements ArchiverTask
Constructor and Description |
---|
AddDependencySetsTask(List<DependencySet> dependencySets,
Set<Artifact> resolvedArtifacts,
MavenProject project,
MavenProjectBuilder projectBuilder,
ArchiverManager archiverManager,
org.codehaus.plexus.logging.Logger logger) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDependencySet(DependencySet dependencySet,
Archiver archiver,
AssemblerConfigurationSource configSource) |
protected void |
addNonArchiveDependency(Artifact depArtifact,
MavenProject depProject,
DependencySet dependencySet,
Archiver archiver,
AssemblerConfigurationSource configSource) |
void |
execute(Archiver archiver,
AssemblerConfigurationSource configSource) |
String |
getDefaultOutputDirectory() |
String |
getDefaultOutputFileNameMapping() |
List<DependencySet> |
getDependencySets() |
org.codehaus.plexus.logging.Logger |
getLogger() |
Artifact |
getModuleArtifact() |
MavenProject |
getModuleProject() |
protected Set<Artifact> |
resolveDependencyArtifacts(DependencySet dependencySet) |
void |
setDefaultOutputDirectory(String defaultOutputDirectory) |
void |
setDefaultOutputFileNameMapping(String defaultOutputFileNameMapping) |
void |
setModuleArtifact(Artifact moduleArtifact) |
void |
setModuleProject(MavenProject moduleProject) |
public AddDependencySetsTask(List<DependencySet> dependencySets, Set<Artifact> resolvedArtifacts, MavenProject project, MavenProjectBuilder projectBuilder, ArchiverManager archiverManager, org.codehaus.plexus.logging.Logger logger)
public void execute(Archiver archiver, AssemblerConfigurationSource configSource) throws ArchiveCreationException, AssemblyFormattingException, InvalidAssemblerConfigurationException
execute
in interface ArchiverTask
ArchiveCreationException
AssemblyFormattingException
InvalidAssemblerConfigurationException
protected void addDependencySet(DependencySet dependencySet, Archiver archiver, AssemblerConfigurationSource configSource) throws AssemblyFormattingException, ArchiveCreationException, InvalidAssemblerConfigurationException
protected Set<Artifact> resolveDependencyArtifacts(DependencySet dependencySet) throws InvalidAssemblerConfigurationException
protected void addNonArchiveDependency(Artifact depArtifact, MavenProject depProject, DependencySet dependencySet, Archiver archiver, AssemblerConfigurationSource configSource) throws AssemblyFormattingException, ArchiveCreationException
public List<DependencySet> getDependencySets()
public org.codehaus.plexus.logging.Logger getLogger()
public String getDefaultOutputDirectory()
public void setDefaultOutputDirectory(String defaultOutputDirectory)
public String getDefaultOutputFileNameMapping()
public void setDefaultOutputFileNameMapping(String defaultOutputFileNameMapping)
public MavenProject getModuleProject()
public void setModuleProject(MavenProject moduleProject)
public void setModuleArtifact(Artifact moduleArtifact)
public Artifact getModuleArtifact()
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.