filevault-package:format-xml
Full name:
org.apache.jackrabbit:filevault-package-maven-plugin:1.1.3-SNAPSHOT:format-xml
Description:
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase:
process-sources
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<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 . |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<enableForIncrementalBuild> |
boolean |
- |
If set to true will also run on incremental builds
(i.e. within Eclipse with m2e). Otherwise this goal is skipped in
incremental builds and only runs on full builds.Default value is: false . |
<excludes> |
Set |
- |
Exclude patterns for files to exclude. If not set defaults to [].
Note: includes have precedences over excludes. Each pattern can
either be an Ant-like
pattern or a regular expression if it is starting with
|
<includes> |
Set |
- |
Include patterns for files to include. If not set defaults to
[**\/*.xml].
Note: includes have precedences over excludes. Each pattern can
either be an Ant-like
pattern or a regular expression if it is starting with
|
<validateOnly> |
boolean |
- |
If set to true then fails the build if it encounters
XML files which don't follow the formatting rules for XML Docview
files. If set to false will reformat all XML Docview
files.Default value is: false . |
Parameter Details
<enableForIncrementalBuild>
true
will also run on incremental builds
(i.e. within Eclipse with m2e). Otherwise this goal is skipped in
incremental builds and only runs on full builds.- Type:
boolean
- Required:
No
- Default:
false
<excludes>
Note: includes have precedences over excludes. Each pattern can
either be an Ant-like
pattern or a regular expression if it is starting with
%regex[
and ending with ]
.
- Type:
java.util.Set
- Required:
No
<includes>
Note: includes have precedences over excludes. Each pattern can
either be an Ant-like
pattern or a regular expression if it is starting with
%regex[
and ending with ]
.
- Type:
java.util.Set
- Required:
No
<jcrRootSourceDirectory>
- Type:
java.io.File[]
- Required:
Yes
- User Property:
vault.jcrRootSourceDirectory
- Default:
${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}
<validateOnly>
true
then fails the build if it encounters
XML files which don't follow the formatting rules for XML Docview
files. If set to false
will reformat all XML Docview
files.- Type:
boolean
- Required:
No
- Default:
false