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/11/07 09:13:29 UTC

[sling-htl-maven-plugin] 09/11: SLING-6084 - htl-maven-plugin should provide skip parameter

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag htl-maven-plugin-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-htl-maven-plugin.git

commit 5ec0a06913ae439594f1db50c4cda88950ae0ab0
Author: Radu Cotescu <ra...@apache.org>
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/tooling/maven/htl-maven-plugin@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
"commits@sling.apache.org" <co...@sling.apache.org>.