Full name:
org.apache.jackrabbit:filevault-package-maven-plugin:1.1.2:package
Description:
Attributes:
compile
.package
.Name | Type | Since | Description |
---|---|---|---|
<excludes> |
Set |
- |
The file name patterns to exclude (in addition to the default ones
if
AbstractSourceAndMetadataPackageMojo.addDefaultExcludes .
The format of each pattern is described in
DirectoryScanner . The comparison is against the path
relative to the according filter root. Since this is hardly
predictable it is recommended to use only filename/directory name
patterns here but not take into account file system hierarchies!
Each value is either a regex pattern if enclosed within
Default value is: **/.vlt,**/.vltignore .User property is: vault.excludes . |
<failOnDuplicateEntries> |
boolean |
- |
Set to false to not fail the build in case of
files/folders being added to the resulting package more than once.
Usually this indicates overlapping with embedded files or
overlapping filter rules.Default value is: true .User property is: vault.failOnDuplicateEntries . |
<failOnUncoveredSourceFiles> |
boolean |
- |
Set to true to fail the build in case of files are
being contained in the jcrRootSourceDirectory which
are not covered by the filter rules and therefore would not end up
in the package.Default value is: false .User property is: vault.failOnUncoveredSourceFiles . |
<finalName> |
String |
- |
The name of the generated package ZIP file without the ".zip" file
extension. Default value is: ${project.build.finalName} .User property is: vault.finalName . |
<jcrRootSourceDirectory> |
File[] |
- |
The directory that contains the jcr_root of the content. Multiple
directories can be specified as a comma separated list, which will
act as a search path and cause the plugin to look for the first
existing directory. Default value is: ${project.basedir}/jcr_root,${project.basedir}/src/main/jcr_root,${project.basedir}/src/main/content/jcr_root,${project.basedir}/src/content/jcr_root,${project.build.outputDirectory} .User property is: vault.jcrRootSourceDirectory . |
<metaInfVaultDirectory> |
File[] |
- |
The directory that contains the META-INF/vault. Multiple
directories can be specified as a comma separated list, which will
act as a search path and cause the plugin to look for the first
existing directory.
This directory is added as fileset to the package archiver
before the the Default value is: ${project.basedir}/META-INF/vault,${project.basedir}/src/main/META-INF/vault,${project.basedir}/src/main/content/META-INF/vault,${project.basedir}/src/content/META-INF/vault .User property is: vault.metaInfVaultDirectory . |
<outputDirectory> |
File |
- |
Directory in which the built content package will be output. Default value is: ${project.build.directory} .User property is: vault.outputDirectory . |
<workDirectory> |
File |
- |
The directory containing the metadata to be packaged up into the
content package. Basically containing all files/folders being
generated by goal "generate-metadata". Default value is: ${project.build.directory}/vault-work . |
Name | Type | Since | Description |
---|---|---|---|
<addDefaultExcludes> |
boolean |
1.1.0 |
By default files like .gitignore ,
.cvsignore etc. are excluded which means they will not
being copied. If you need them for a particular reason you can do
that by settings this to false . This means all files
like the following will be copied.
Default value is: true . |
<archive> |
MavenArchiveConfiguration |
- |
The archive configuration to use. See the
documentation for Maven Archiver. All settings related to
manifest are not relevant as this gets overwritten by the manifest
in AbstractMetadataPackageMojo.workDirectory |
<builtContentDirectory> |
File |
- |
The directory containing the content to be packaged up into the
content package. This property is deprecated; use
jcrRootSourceDirectory instead. |
<delimiters> |
LinkedHashSet |
1.1.0 |
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). User property is: vault.delimiters . |
<enableJcrRootFiltering> |
boolean |
- |
(no description) Default value is: false .User property is: vault.enableJcrRootFiltering . |
<enableMetaInfFiltering> |
boolean |
- |
(no description) Default value is: false .User property is: vault.enableMetaInfFiltering . |
<escapeString> |
String |
1.1.0 |
Expression preceded with this String won't be interpolated.
\${foo} will be replaced with ${foo} .User property is: vault.escapeString . |
<escapedBackslashesInFilePath> |
boolean |
1.1.0 |
To escape interpolated values with Windows path
c:\foo\bar will be replaced with
c:\\foo\\bar .Default value is: false .User property is: vault.escapedBackslashesInFilePath . |
<filterFiles> |
List |
1.1.0 |
Filters (path to property files) to include during the filtering of
resources. The default value is the filter list under build
specifying a filter will override the filter list under build. User property is: vault.filters . |
<nonFilteredFileExtensions> |
List |
1.1.0 |
Additional list of file extensions that should not be filtered.
(already defined are : jpg, jpeg, gif, bmp, png) User property is: vault.nonFilteredFileExtensions . |
<outputTimestamp> |
String |
1.1.0 |
Timestamp for reproducible output archive entries, either formatted
as ISO 8601 yyyy-MM-dd'T'HH:mm:ssXXX or as an int
representing seconds since the epoch (like SOURCE_DATE_EPOCH).Default value is: ${project.build.outputTimestamp} . |
<prefix> |
String |
- |
Adds a path prefix to all resources. Useful for shallower source
trees. This does not apply to files in workDirectory
nor metaInfVaultDirectory but e.g. is relevant for the
default filter and for the jcr_root of the package. Must start with
"/" if not empty. As separator only forward slashes are allowed.
The trailing slash is automatically appended if not there.User property is: vault.prefix . |
<resourceEncoding> |
String |
- |
The character encoding scheme to be applied when filtering
resources. Default value is: ${project.build.sourceEncoding} .User property is: vault.resourceEncoding . |
<supportMultiLineFiltering> |
boolean |
1.1.0 |
Stop searching endToken at the end of line when filtering is
applied. Default value is: false .User property is: vault.supportMultiLineFiltering . |
<useDefaultDelimiters> |
boolean |
1.1.0 |
Use default delimiters in addition to custom delimiters, if any. Default value is: true .User property is: vault.useDefaultDelimiters . |
.gitignore
,
.cvsignore
etc. are excluded which means they will not
being copied. If you need them for a particular reason you can do
that by settings this to false
. This means all files
like the following will be copied.
boolean
1.1.0
No
true
AbstractMetadataPackageMojo.workDirectory
org.apache.maven.archiver.MavenArchiveConfiguration
No
jcrRootSourceDirectory
instead.java.io.File
No
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).
java.util.LinkedHashSet
1.1.0
No
vault.delimiters
boolean
No
vault.enableJcrRootFiltering
false
boolean
No
vault.enableMetaInfFiltering
false
\${foo}
will be replaced with ${foo}
.java.lang.String
1.1.0
No
vault.escapeString
c:\foo\bar
will be replaced with
c:\\foo\\bar
.boolean
1.1.0
No
vault.escapedBackslashesInFilePath
false
AbstractSourceAndMetadataPackageMojo.addDefaultExcludes
.
The format of each pattern is described in
DirectoryScanner
. The comparison is against the path
relative to the according filter root. Since this is hardly
predictable it is recommended to use only filename/directory name
patterns here but not take into account file system hierarchies!
Each value is either a regex pattern if enclosed within
%regex[
and ]
, otherwise an Ant
pattern.
java.util.Set
Yes
vault.excludes
**/.vlt,**/.vltignore
false
to not fail the build in case of
files/folders being added to the resulting package more than once.
Usually this indicates overlapping with embedded files or
overlapping filter rules.boolean
Yes
vault.failOnDuplicateEntries
true
true
to fail the build in case of files are
being contained in the jcrRootSourceDirectory
which
are not covered by the filter rules and therefore would not end up
in the package.boolean
Yes
vault.failOnUncoveredSourceFiles
false
java.util.List
1.1.0
No
vault.filters
java.lang.String
Yes
vault.finalName
${project.build.finalName}
java.io.File[]
Yes
vault.jcrRootSourceDirectory
${project.basedir}/jcr_root,${project.basedir}/src/main/jcr_root,${project.basedir}/src/main/content/jcr_root,${project.basedir}/src/content/jcr_root,${project.build.outputDirectory}
This directory is added as fileset to the package archiver
before the the workDirectory
. This means that files
specified in this directory have precedence over the one present in
the workDirectory
. For example, if this directory
contains a properties.xml
it will not be overwritten
by the generated one. A special case is the filter.xml
which will be merged with inline filters if present.
java.io.File[]
Yes
vault.metaInfVaultDirectory
${project.basedir}/META-INF/vault,${project.basedir}/src/main/META-INF/vault,${project.basedir}/src/main/content/META-INF/vault,${project.basedir}/src/content/META-INF/vault
java.util.List
1.1.0
No
vault.nonFilteredFileExtensions
java.io.File
Yes
vault.outputDirectory
${project.build.directory}
yyyy-MM-dd'T'HH:mm:ssXXX
or as an int
representing seconds since the epoch (like SOURCE_DATE_EPOCH).java.lang.String
1.1.0
No
${project.build.outputTimestamp}
workDirectory
nor metaInfVaultDirectory
but e.g. is relevant for the
default filter and for the jcr_root of the package. Must start with
"/" if not empty. As separator only forward slashes are allowed.
The trailing slash is automatically appended if not there.java.lang.String
No
vault.prefix
java.lang.String
No
vault.resourceEncoding
${project.build.sourceEncoding}
boolean
1.1.0
No
vault.supportMultiLineFiltering
false
boolean
1.1.0
No
vault.useDefaultDelimiters
true
java.io.File
Yes
${project.build.directory}/vault-work