Full name:
org.apache.maven.plugins:maven-assembly-plugin:2.6:directory-single
This plugin goal has been deprecated:
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
finalName | String | - | The filename of the assembled distribution file. Default value is: ${project.build.finalName}. |
outputDirectory | File | - | The output directory of the assembled distribution file. Default value is: ${project.build.directory}. |
workDirectory | File | - | Directory to unpack JARs into if needed Default value is: ${project.build.directory}/assembly/work. |
Name | Type | Since | Description |
---|---|---|---|
appendAssemblyId | boolean | - | Set to false to exclude the assembly id from the assembly final
name. Default value is: true. User property is: assembly.appendAssemblyId. |
archive | MavenArchiveConfiguration | - | This is a set of instructions to the archive builder, especially
for building .jar files. It enables you to specify a Manifest file
for the jar, in addition to other options. See Maven
Archiver Reference. |
archiveBaseDirectory | File | - | This is the base directory from which archive files are created.
This base directory pre-pended to any
<directory> specifications in the assembly
descriptor. This is an optional parameter. |
archiverConfig | PlexusConfiguration | 2.2-beta-3 | Allows additional configuration options that are specific to a
particular type of archive format. This is intended to capture an
XML configuration that will be used to reflectively setup the
options on the archiver instance. For instance, to direct an assembly with the "ear" format to use a particular deployment descriptor, you should specify the following for the archiverConfig value in your plugin configuration: <appxml>${project.basedir}/somepath/app.xml</appxml> |
attach | boolean | 2.2-beta-1 | Controls whether the assembly plugin tries to attach the resulting
assembly to the project. Default value is: true. User property is: assembly.attach. |
classifier | String | - | Deprecated. Please use the Assembly's id for classifier instead User property is: classifier. |
delimiters | List | 2.4 |
Set of delimiters for expressions to filter within the resources. These delimiters are specified in the form 'beginToken*endToken'. If no '*' is given, the delimiter is assumed to be the same for start and end. So, the default filtering delimiters might be specified as: <delimiters> <delimiter>${*}</delimiter> <delimiter>@</delimiter> </delimiters> Since the '@' delimiter is the same on both ends, we don't need to specify '@*@' (though we can). |
descriptor | String | - | Deprecated. Please use descriptors instead User property is: descriptor. |
descriptorId | String | - | Deprecated. Please use descriptorRefs instead User property is: descriptorId. |
descriptorRefs | String[] | - | A list of references to assembly descriptors available on the
plugin's classpath. The default classpath includes these built-in
descriptors: bin, jar-with-dependencies,
src, and project. You can add others by
adding dependencies to the plugin. |
descriptorSourceDirectory | File | - | Directory to scan for descriptor files in. NOTE: This may
not work correctly with assembly components. |
descriptors | String[] | - | A list of descriptor files to generate from. |
dryRun | boolean | - | If this flag is set, everything up to the call to
Archiver.createArchive() will be executed. Default value is: false. User property is: assembly.dryRun. |
encoding | String | - | The character encoding scheme to be applied when filtering
resources. Default value is: ${project.build.sourceEncoding}. User property is: encoding. |
escapeString | String | 2.4 | Expressions preceded with this String won't be interpolated. If you
use "\" as the escape string then \${foo} will be replaced with
${foo}. User property is: assembly.escapeString. |
filters | List | - | 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. Normally, these will be configured from a plugin's execution section, to provide a different set of filters for a particular execution. |
formats | List | - | Specifies the formats of the assembly. Multiple formats can be
supplied and the Assembly Plugin will generate an archive for each
desired formats. When deploying your project, all file formats
specified will also be deployed. A format is specified by supplying
one of the following values in a <format> subelement:
|
ignoreDirFormatExtensions | boolean | - | If 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'. NOTE: Since 2.2-beta-3, the default-value for this is true, NOT false as it used to be. Default value is: true. |
ignoreMissingDescriptor | boolean | - | Set to true in order to not fail when a descriptor is missing. Default value is: false. User property is: assembly.ignoreMissingDescriptor. |
ignorePermissions | boolean | 2.2 |
Set to true in order to avoid all chmod calls. NOTE: This will cause the assembly plugin to DISREGARD all fileMode/directoryMode settings in the assembly descriptor, and all file permissions in unpacked dependencies! Default value is: false. User property is: assembly.ignorePermissions. |
includeProjectBuildFilters | boolean | 2.4.2 | If True (default) then the ${project.build.filters} are also used
in addition to any further filters defined for the Assembly. Default value is: true. User property is: assembly.includeProjectBuildFilters. |
includeSite | boolean | - | Deprecated. Please set this variable in the assembly descriptor instead Default value is: false. User property is: includeSite. |
recompressZippedFiles | boolean | 2.4 | Indicates if zip archives (jar,zip etc) being added to the assembly
should be compressed again. Compressing again can result in smaller
archive size, but gives noticeably longer execution time. Default value is: true. |
runOnlyAtExecutionRoot | boolean | 2.2-beta-4 | This will cause the assembly to run only at the top of a given
module tree. That is, run in the project contained in the same
folder where the mvn execution was launched. Default value is: false. User property is: assembly.runOnlyAtExecutionRoot. |
skipAssembly | boolean | - | Flag allowing one or more executions of the assembly plugin to be
configured as skipped for a particular build. This makes the
assembly plugin more controllable from profiles. Default value is: false. User property is: assembly.skipAssembly. |
tarLongFileMode | String | - | Sets the TarArchiver behavior on file paths with more than 100
characters length. Valid values are: "warn" (default), "fail",
"truncate", "gnu", "posix", "posix_warn" or "omit". Default value is: warn. User property is: assembly.tarLongFileMode. |
updateOnly | boolean | 2.2 | This will cause the assembly to only update an existing archive, if
it exists.
Note: The property that can be used on the command line was misspelled as "assembly.updatOnly" in versions prior to version 2.4. Default value is: false. User property is: assembly.updateOnly. |
useJvmChmod | boolean | 2.2 |
will use the jvm chmod, this is available for user and all level group level will be ignored As of assembly-plugin 2.5, this flag is ignored for users of java7+ Default value is: false. User property is: assembly.useJvmChmod. |
<appxml>${project.basedir}/somepath/app.xml</appxml>
Set of delimiters for expressions to filter within the resources. These delimiters are specified in the form 'beginToken*endToken'. If no '*' is given, the delimiter is assumed to be the same for start and end.
So, the default filtering delimiters might be specified as:
<delimiters> <delimiter>${*}</delimiter> <delimiter>@</delimiter> </delimiters>
Since the '@' delimiter is the same on both ends, we don't need to specify '@*@' (though we can).
Set to true in order to avoid all chmod calls.
NOTE: This will cause the assembly plugin to DISREGARD all fileMode/directoryMode settings in the assembly descriptor, and all file permissions in unpacked dependencies!
Note: The property that can be used on the command line was misspelled as "assembly.updatOnly" in versions prior to version 2.4.
will use the jvm chmod, this is available for user and all level group level will be ignored As of assembly-plugin 2.5, this flag is ignored for users of java7+