Class AbstractAssemblyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,AssemblerConfigurationSource
- Direct Known Subclasses:
SingleAssemblyMojo
public abstract class AbstractAssemblyMojo
extends org.apache.maven.plugin.AbstractMojo
implements AssemblerConfigurationSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PropertiesA set of additional properties to use for filtering(package private) booleanSet to false to exclude the assembly id from the assembly final name, and to create the resultant assembly artifacts without classifier.private org.apache.maven.archiver.MavenArchiveConfigurationThis is a set of instructions to the archive builder, especially for building .jar files.private FileThis is the base directory from which archive files are created.private org.codehaus.plexus.configuration.PlexusConfigurationAllows additional configuration options that are specific to a particular type of archive format.private AssemblyArchiverprivate AssemblyReaderprivate booleanControls whether the assembly plugin tries to attach the resulting assembly to the project.private FileBase directory of the project.protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolatorSet of delimiters for expressions to filter within the resources.private String[]A list of references to assembly descriptors available on the plugin's classpath.private String[]A list of descriptor files to generate from.private FileDirectory to scan for descriptor files in.private booleanIf this flag is set, everything up to the call to Archiver.createArchive() will be executed.private StringThe character encoding scheme to be applied when filtering resources.protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolatorprivate StringExpressions preceded with this String won't be interpolated.The list of extra filter properties files to be used along with System properties, project properties, and filter properties files specified in the POM build/filters section, which should be used for the filtering during the current mojo execution.private StringThe filename of the assembled distribution file.
NOTE: This parameter has only impact on name in project target directory, installed/deployed artifacts will follow convention for artifact names.Specifies the formats of the assembly.private booleanIf this flag is set, the ".dir" suffix will be suppressed in the output directory name when using assembly/format == 'dir' and other formats that begin with 'dir'.private booleanSet to true in order to not fail when a descriptor is missing.private booleanSet totruein order to avoid all chmod calls.private booleanIf True (default) then the ${project.build.filters} are also used in addition to any further filters defined for the Assembly.protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolatorprivate org.apache.maven.shared.filtering.MavenReaderFilterMaven shared filtering utility.private org.apache.maven.execution.MavenSessionThe Maven Session Objectprivate Stringsets the merge manifest mode in the JarArchiverprivate FileThe output directory of the assembled distribution file.private StringTimestamp for reproducible output archive entries, either formatted as ISO 8601yyyy-MM-dd'T'HH:mm:ssXXXor as an int representing seconds since the epoch (like SOURCE_DATE_EPOCH).private IntegerOverride of group ID in archive type which can store it.private StringOverride of group name in archive type which can store it.private IntegerOverride of user ID in archive type which can store it.private StringOverride of user name in archive type which can store it.private org.apache.maven.project.MavenProjectHelperMaven ProjectHelper.private List<org.apache.maven.project.MavenProject>