filevault-package:format-xml
Full name:
org.apache.jackrabbit:filevault-package-maven-plugin:1.3.7-SNAPSHOT:format-xml
Description:
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- 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<String> |
- |
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<String> |
- |
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 .User property is: vault.validateOnly . |
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<java.lang.String>
- 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<java.lang.String>
- 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
- User Property:
vault.validateOnly
- Default:
false