commit | dd32ff10f8d45557f1ceb069cc758d3dbe803438 | [log] [tgz] |
---|---|---|
author | Radu Cotescu <radu@apache.org> | Fri Jan 13 12:19:13 2017 +0000 |
committer | Radu Cotescu <radu@apache.org> | Fri Jan 13 12:19:13 2017 +0000 |
tree | 732614a352507d38e14b4570fbccc474d872f98e | |
parent | 11f2f515c8fddb779fbb4aee44dc729d19838e0d [diff] |
releng: updated dependencies post-release git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1778566 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
htl.skip
false