htl:validate
Full name:
org.apache.sling:htl-maven-plugin:1.0.8:validate
Description:
Validates HTL scripts.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase: compile.
Optional Parameters
| Name |
Type |
Since |
Description |
| excludes |
String[] |
- |
List of files to exclude. Specified as fileset patterns which are
relative to the input directory whose contents will be scanned (see
the sourceDirectory configuration option).
|
| failOnWarnings |
boolean |
- |
If set to "true" it will fail the build on compiler warnings. Default value is: false. User property is: htl.failOnWarnings. |
| includes |
String[] |
- |
List of files to include. Specified as fileset patterns which are
relative to the input directory whose contents will be scanned (see
the sourceDirectory configuration option). Default value is: **/*.html.
|
| skip |
boolean |
- |
If set to "true" the validation will be skipped. Default value is: false. User property is: htl.skip. |
| sourceDirectory |
File |
- |
Defines the root folder where this Mojo expects to find Sightly
scripts to validate. Default value is: ${project.build.sourceDirectory}. User property is: htl.sourceDirectory. |
Parameter Details
excludes:
List of files to exclude. Specified as fileset patterns which are
relative to the input directory whose contents will be scanned (see
the sourceDirectory configuration option).
- Type: java.lang.String[]
- Required: No
failOnWarnings:
If set to "true" it will fail the build on compiler warnings.
- Type: boolean
- Required: No
- User Property: htl.failOnWarnings
- Default: false
includes:
List of files to include. Specified as fileset patterns which are
relative to the input directory whose contents will be scanned (see
the sourceDirectory configuration option).
- Type: java.lang.String[]
- Required: No
- Default: **/*.html
skip:
If set to "true" the validation will be skipped.
- Type: boolean
- Required: No
- User Property: htl.skip
- Default: false
sourceDirectory:
Defines the root folder where this Mojo expects to find Sightly
scripts to validate.
- Type: java.io.File
- Required: No
- User Property: htl.sourceDirectory
- Default: ${project.build.sourceDirectory}