commit | ce8dfe7945246ef1058bd2d35f2006ff0993eeed | [log] [tgz] |
---|---|---|
author | Radu Cotescu <radu@apache.org> | Mon Oct 31 14:26:20 2016 +0000 |
committer | Radu Cotescu <radu@apache.org> | Mon Oct 31 14:26:20 2016 +0000 |
tree | df9f7f4e49db3e1e35e77d3d323619f6764b2d06 | |
parent | 1faecfaff42c3ac80465bd1ceb56007f76e71c2c [diff] |
[maven-release-plugin] prepare release htl-maven-plugin-1.0.2 git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767288 13f79535-47bb-0310-9956-ffa450edef68
The Apache Sling HTL Maven Plugin, M2Eclipse compatible, provides support for validating HTML Template Language scripts from projects during build time.
htl:validate
- validate the scripts from the build directory (${project.build.sourceDirectory}
)<build> <plugins> <plugin> <groupId>org.apache.sling</groupId> <artifactId>htl-maven-plugin</artifactId> <version>1.0.0</version> <executions> <execution> <id>validate-scripts</id> <goals> <goal>validate</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
htl:validate
Full name: org.apache.sling:htl-maven-plugin:1.0.0:validate
Description: Validates HTL scripts syntax during the build process.
Name | Type | Since | Description |
---|---|---|---|
sourceDirectory | String | 1.0.0 | Defines the root folder where this goal expects to find Sightly scripts to validate. |
includes | String[] | 1.0.0 | List of files to include, specified as fileset patterns which are relative to sourceDirectory . |
excludes | String[] | 1.0.0 | List of files to exclude, specified as fileset patterns which are relative to sourceDirectory . |
failOnWarnings | boolean | 1.0.0 | If set to true it will fail the build on compiler warnings. |
skip | boolean | 1.0.2 | If set to true the validation will be skipped. |
sourceDirectory:
Defines the root folder where this goal expects to find Sightly scripts to validate.
java.lang.String
sourceDirectory
${project.build.sourceDirectory}
includes:
List of files to include, specified as fileset patterns which are relative to sourceDirectory
.
java.lang.String[]
includes
**/*.html
excludes:
List of files to exclude, specified as fileset patterns which are relative to sourceDirectory
.
java.lang.String[]
excludes
failOnWarnings:
If set to true
it will fail the build on compiler warnings.
boolean
failOnWarnings
false
skip:
If set to true
the validation will be skipped.
boolean
false