-
outputDirectory
String outputDirectory
Sets the output directory relative to the root
of the root directory of the assembly. For
example,
"log" will put the specified files in the log
directory,
directly beneath the root of the archive.
-
includes
List<E> includes
Field includes.
-
excludes
List<E> excludes
Field excludes.
-
fileMode
String fileMode
Similar to a UNIX permission, sets the file mode
of the files included.
THIS IS AN OCTAL VALUE.
Format: (User)(Group)(Other) where each
component is a sum of Read = 4,
Write = 2, and Execute = 1. For example, the
value 0644
translates to User read-write, Group and Other
read-only. The default value is 0644.
(more
on unix-style permissions)
-
directoryMode
String directoryMode
Similar to a UNIX permission, sets the directory
mode of the directories
included.
THIS IS AN OCTAL VALUE.
Format: (User)(Group)(Other) where each
component is a sum of
Read = 4, Write = 2, and Execute = 1. For
example, the value
0755 translates to User read-write, Group and
Other read-only. The default value is 0755.
(more
on unix-style permissions)
-
useStrictFiltering
boolean useStrictFiltering
When specified as true, any include/exclude
patterns which aren't used to filter an actual
artifact during assembly creation will cause the
build to fail with an error. This is meant
to highlight obsolete inclusions or exclusions, or
else signal that the assembly descriptor
is incorrectly configured. (Since 2.2)
.
-
outputFileNameMapping
String outputFileNameMapping
Sets the mapping pattern for all dependencies
included in this
assembly. Default is
${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}.
(Since 2.2-beta-2; 2.2-beta-1 uses
${artifactId}-${version}${dashClassifier?}.${extension}).
NOTE: If the dependencySet specifies unpack ==
true, outputFileNameMapping WILL NOT BE USED; in these
cases,
use outputDirectory.
See the plugin FAQ for more details about
entries usable in the outputFileNameMapping parameter.
-
unpack
boolean unpack
If set to true, this property will unpack all
dependencies
into the specified output directory. When set to
false,
dependencies will be included as archives
(jars). Can only unpack
jar, zip, tar.gz, and tar.bz archives. Default
value is false.
-
unpackOptions
UnpackOptions unpackOptions
Allows the specification of includes and excludes,
along with filtering options, for items
unpacked from a dependency artifact. (Since 2.2)
.
-
scope
String scope
Sets the dependency scope for this
dependencySet.
Default scope value is "runtime".
-
useProjectArtifact
boolean useProjectArtifact
Determines whether the artifact produced during
the current project's
build should be included in this dependency set.
Default value is true,
for backward compatibility. (Since 2.2)
.
-
useProjectAttachments
boolean useProjectAttachments
Determines whether the attached artifacts produced
during the current project's
build should be included in this dependency set.
Default value is false. (Since 2.2)
.
-
useTransitiveDependencies
boolean useTransitiveDependencies
Determines whether transitive dependencies will be
included in the processing of
the current dependency set. If true,
includes/excludes/useTransitiveFiltering
will apply to transitive dependency artifacts in
addition to the main project
dependency artifacts. If false,
useTransitiveFiltering is meaningless, and
includes/excludes only affect the immediate
dependencies of the project.
By default, this value is true. (Since 2.2)
.
-
useTransitiveFiltering
boolean useTransitiveFiltering
Determines whether the include/exclude patterns in
this dependency set will be applied to
the transitive path of a given artifact. If true,
and the current artifact is a transitive
dependency brought in by another artifact which
matches an inclusion or exclusion pattern,
then the current artifact has the same
inclusion/exclusion logic applied to it as well. By
default, this value is false, in order to preserve
backward compatibility with version 2.1.
This means that includes/excludes only apply
directly to the current artifact, and not to
the transitive set of artifacts which brought it
in. (Since 2.2)
.