Modifier and Type | Method and Description |
---|---|
File |
DefaultAssemblyArchiver.createArchive(Assembly assembly,
String fullName,
String format,
AssemblerConfigurationSource configSource,
boolean recompressZippedFiles)
Create the assembly archive.
|
File |
AssemblyArchiver.createArchive(Assembly assembly,
String fullName,
String format,
AssemblerConfigurationSource configSource,
boolean recompressZippedFiles)
Create the assembly archive.
|
protected org.codehaus.plexus.archiver.Archiver |
DefaultAssemblyArchiver.createArchiver(String format,
boolean includeBaseDir,
String finalName,
AssemblerConfigurationSource configSource,
List<ContainerDescriptorHandler> containerHandlers,
boolean recompressZippedFiles)
Creates the necessary archiver to build the distribution file.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryAssemblyPhase.execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource)
Handle the associated section of the assembly descriptor.
|
void |
ModuleSetAssemblyPhase.execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource)
Handle the associated section of the assembly descriptor.
|
void |
FileSetAssemblyPhase.execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource)
Handle the associated section of the assembly descriptor.
|
void |
FileItemAssemblyPhase.execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource)
Handle the associated section of the assembly descriptor.
|
void |
DependencySetAssemblyPhase.execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource)
Handle the associated section of the assembly descriptor.
|
void |
AssemblyArchiverPhase.execute(Assembly assembly,
org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource)
Handle the associated section of the assembly descriptor.
|
static Set<MavenProject> |
ModuleSetAssemblyPhase.getModuleProjects(ModuleSet moduleSet,
AssemblerConfigurationSource configSource,
org.codehaus.plexus.logging.Logger logger) |
Constructor and Description |
---|
RepoBuilderConfigSourceWrapper(AssemblerConfigurationSource configSource) |
Modifier and Type | Method and Description |
---|---|
void |
ArchiverTask.execute(org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource) |
void |
AddFileSetsTask.execute(org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource) |
void |
AddDependencySetsTask.execute(org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource) |
void |
AddArtifactTask.execute(org.codehaus.plexus.archiver.Archiver archiver,
AssemblerConfigurationSource configSource) |
Modifier and Type | Method and Description |
---|---|
Map<DependencySet,Set<Artifact>> |
DependencyResolver.resolveDependencySets(Assembly assembly,
AssemblerConfigurationSource configSource,
List<DependencySet> dependencySets) |
Map<DependencySet,Set<Artifact>> |
DefaultDependencyResolver.resolveDependencySets(Assembly assembly,
AssemblerConfigurationSource configSource,
List<DependencySet> dependencySets) |
Map<DependencySet,Set<Artifact>> |
DependencyResolver.resolveDependencySets(Assembly assembly,
ModuleSet moduleSet,
AssemblerConfigurationSource configSource,
List<DependencySet> dependencySets) |
Map<DependencySet,Set<Artifact>> |
DefaultDependencyResolver.resolveDependencySets(Assembly assembly,
ModuleSet moduleSet,
AssemblerConfigurationSource configSource,
List<DependencySet> dependencySets) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.components.io.functions.InputStreamTransformer |
ReaderFormatter.getFileSetTransformers(AssemblerConfigurationSource configSource,
boolean isFiltered,
String fileSetLineEnding) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
AssemblyInterpolator.fullInterpolator(MavenProject project,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator projectIp,
AssemblerConfigurationSource configSource) |
Constructor and Description |
---|
AssemblyExpressionEvaluator(AssemblerConfigurationSource configSource) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAssemblyMojo |
class |
AbstractDirectoryMojo
Deprecated.
|
class |
AssemblyMojo
Deprecated.
Use assembly:single instead! The assembly:assembly mojo leads to non-standard builds.
|
class |
AttachedAssemblyMojo
Deprecated.
Use assembly:single instead! The assembly:attached mojo leads to non-standard builds.
|
class |
DirectoryInlineMojo
Deprecated.
Use assembly:single and an assembly with format == dir instead! This mojo is redundant, and leads to
non-standard builds.
|
class |
DirectoryMojo
Deprecated.
Use assembly:single and an assembly with format == dir instead! This mojo is redundant.
|
class |
DirectorySingleMojo
Deprecated.
Use assembly:single and an assembly with format == dir instead! This mojo is redundant.
|
class |
SingleAssemblyMojo
Assemble an application bundle or distribution from an assembly descriptor.
|
Modifier and Type | Method and Description |
---|---|
static String |
AssemblyFormatUtils.evaluateFileNameMapping(String expression,
Artifact artifact,
MavenProject mainProject,
Artifact moduleArtifact,
AssemblerConfigurationSource configSource,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator moduleProjectInterpolator,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator artifactProjectInterpolator)
ORDER OF INTERPOLATION PRECEDENCE:
prefixed with "module.", if moduleProject != null
Artifact instance for module, if moduleArtifact != null
ArtifactHandler instance for module, if moduleArtifact != null
MavenProject instance for module
prefixed with "artifact."
Artifact instance
ArtifactHandler instance for artifact
MavenProject instance for artifact
prefixed with "pom." or "project."
MavenProject instance from current build
no prefix, using main project instance
MavenProject instance from current build
Support for special expressions, like ${dashClassifier?}
user-defined properties from the command line
properties from main project
system properties, from the MavenSession instance (to support IDEs)
environment variables.
|
static String |
AssemblyFormatUtils.getDistributionName(Assembly assembly,
AssemblerConfigurationSource configSource)
Get the full name of the distribution artifact
|
static String |
AssemblyFormatUtils.getOutputDirectory(String output,
MavenProject artifactProject,
String finalName,
AssemblerConfigurationSource configSource)
ORDER OF INTERPOLATION PRECEDENCE:
Support for special expressions, like ${finalName} (use the assembly plugin configuration not the build
config)
prefixed with "module." if moduleProject is non-null
MavenProject instance for module being assembled
prefixed with "artifact." if artifactProject is non-null
MavenProject instance for artifact
user-defined properties from the command line
prefixed with "pom." or "project.", or no prefix at all
MavenProject instance from current build
properties from main project
system properties, from the MavenSession instance (to support IDEs)
environment variables.
|
static String |
AssemblyFormatUtils.getOutputDirectory(String output,
String finalName,
AssemblerConfigurationSource configSource,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator moduleProjectIntrpolator,
org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator artifactProjectInterpolator)
ORDER OF INTERPOLATION PRECEDENCE:
Support for special expressions, like ${finalName} (use the assembly plugin configuration not the build
config)
prefixed with "module." if moduleProject is non-null
MavenProject instance for module being assembled
prefixed with "artifact." if artifactProject is non-null
MavenProject instance for artifact
user-defined properties from the command line
prefixed with "pom." or "project.", or no prefix at all
MavenProject instance from current build
properties from main project
system properties, from the MavenSession instance (to support IDEs)
environment variables.
|
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.