我想使用 htl-maven-plugin 来验证 HTL 语法。我正在使用如下所示的插件:
<plugin>
<groupId>org.apache.sling</groupId>
<artifactId>htl-maven-plugin</artifactId>
<version>1.0.6</version>
<executions>
<execution>
<id>validate-scripts</id>
<goals>
<goal>validate</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
<configuration>
<sourceDirectory>ui.apps/src/main/content/jcr_root</sourceDirectory>
<failOnWarnings>true</failOnWarnings>
<includes>**/*.html</includes>
</configuration>
</plugin>
但这并没有验证我的 HTL 部分并使构建成功。请帮忙!!!