You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:30:32 UTC
[sling-htl-maven-plugin] 33/39: SLING-7026 - htl-maven-plugin:
Namespace all user properties
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-htl-maven-plugin.git
commit 5466244eaef418d7bdcc1eb9f71046eebe040ca7
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Tue Aug 1 14:15:34 2017 +0000
SLING-7026 - htl-maven-plugin: Namespace all user properties
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1803645 13f79535-47bb-0310-9956-ffa450edef68
---
src/main/java/org/apache/sling/maven/htl/ValidateMojo.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java b/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
index 151f823..6426e29 100644
--- a/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
+++ b/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
@@ -65,7 +65,8 @@ public class ValidateMojo extends AbstractMojo {
/**
* 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 AbstractMojo {
/**
* 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;
/**
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.