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 1faecfaff42c3ac80465bd1ceb56007f76e71c2c
Author: Radu Cotescu <[email protected]>
AuthorDate: Mon Oct 31 14:18:15 2016 +0000

    SLING-6084 - htl-maven-plugin should provide skip parameter
    
    * allow the skip property to be set via command line (-Dhtl.skip=true)
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767285 
13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/maven/htl/ValidateMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 2a105a4..4155473 100644
--- a/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
+++ b/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
@@ -91,7 +91,7 @@ public class ValidateMojo extends AbstractMojo {
     /**
      * If set to "true" the validation will be skipped.
      */
-    @Parameter
+    @Parameter(property = "htl.skip", defaultValue = "false")
     private boolean skip;
 
     private boolean hasWarnings = false;

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to