You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2017/08/01 14:15:34 UTC
svn commit: r1803645 -
/sling/trunk/tooling/maven/htl-maven-plugin/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
Author: radu
Date: Tue Aug 1 14:15:34 2017
New Revision: 1803645
URL: http://svn.apache.org/viewvc?rev=1803645&view=rev
Log:
SLING-7026 - htl-maven-plugin: Namespace all user properties
Modified:
sling/trunk/tooling/maven/htl-maven-plugin/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
Modified: sling/trunk/tooling/maven/htl-maven-plugin/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/maven/htl-maven-plugin/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java?rev=1803645&r1=1803644&r2=1803645&view=diff
==============================================================================
--- sling/trunk/tooling/maven/htl-maven-plugin/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java (original)
+++ sling/trunk/tooling/maven/htl-maven-plugin/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java Tue Aug 1 14:15:34 2017
@@ -65,7 +65,8 @@ public class ValidateMojo extends Abstra
/**
* Defines the root folder where this Mojo expects to find Sightly scripts to validate.
*/
- @Parameter(property = "sourceDirectory", defaultValue = "${project.build.sourceDirectory}")
+ @Parameter(property = "htl.sourceDirectory",
+ defaultValue = "${project.build.sourceDirectory}")
private File sourceDirectory;
/**
@@ -85,7 +86,8 @@ public class ValidateMojo extends Abstra
/**
* If set to "true" it will fail the build on compiler warnings.
*/
- @Parameter(property = "failOnWarnings", defaultValue = "false")
+ @Parameter(property = "htl.failOnWarnings",
+ defaultValue = "false")
private boolean failOnWarnings;
/**