component
Component
Component contains FileSets, FileItems, and DependencySets already
define in Assembly. It allows multiple assemblies to share a set of user
defined collections.
]]>
package
org.apache.maven.plugins.assembly.model
Component
Describes the component layout and packaging.
1.0.0
fileSets
1.0.0
FileSet
*
Specify assembly parameters for groups of files.
files
1.0.0
FileItem
*
Specify assembly parameters for single files.
dependencySets
1.0.0
DependencySet
*
Specify assembly behavior for sets of dependencies.
SetBase
1.0.0
outputDirectory
1.0.0
String
Specifies 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.
includes
1.0.0
String
*
excludes
1.0.0
String
*
fileMode
1.0.0
String
0644
(more on unix-style permissions)
]]>
directoryMode
1.0.0
String
0755
(more on unix-style permissions)
]]>
FileSet
1.0.0
SetBase
directory
1.0.0
String
Absolute or relative from the module's directory. For
example, "src/main/bin" would select this subdirectory
of the project in which this dependency is defined.
true
lineEnding
1.0.0
String
"keep" - Preserve all line endings
"unix" - Use Unix-style line endings
"lf" - Use a single line-feed line endings
"dos" - Use DOS-style line endings
"crlf" - Use Carraige-return, line-feed line endings
]]>
FileItem
1.0.0
Allows individual file copy with option to change destination
file name not supported by fileSet
source
1.0.0
String
true
Absolute or relative from the module's directory.
outputDirectory
1.0.0
String
false
Specifies 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.
destName
1.0.0
String
Destination file name in outputDirectory.
Default is the same name as the source's file.
fileMode
1.0.0
String
0644
(more on unix-style permissions)
]]>
lineEnding
1.0.0
String
"keep" - Preserve all line endings
"unix" - Use Unix-style line endings
"lf" - Use a single line-feed line endings
"dos" - Use DOS-style line endings
"crlf" - Use Carraige-return, line-feed line endings
]]>
filtered
1.0.0
boolean
Flag used to determine if the file is filtered.
DependencySet
1.0.0
SetBase
Defines a dependency set
outputFileNameMapping
1.0.0
String
${artifactId}-${version}.${extension}
Specify the mapping pattern for all dependencies included
in this assembly.
Default is ${artifactId}-${version}.${extension}.
unpack
boolean
false
If set to true, this property will unpack all dependencies
into the specified output directory. When set to false
dependencies will be includes as archives (jars).
Default value is false.
scope
1.0.0
String
runtime
true
Specifies the dependency scope for this dependencySet.
Default scope value is "runtime".