sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1767285 - /sling/trunk/tooling/maven/htl-maven-plugin/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java
Date Mon, 31 Oct 2016 14:18:15 GMT
Author: radu
Date: Mon Oct 31 14:18:15 2016
New Revision: 1767285

URL: http://svn.apache.org/viewvc?rev=1767285&view=rev
Log:
SLING-6084 - htl-maven-plugin should provide skip parameter

* allow the skip property to be set via command line (-Dhtl.skip=true)

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=1767285&r1=1767284&r2=1767285&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
Mon Oct 31 14:18:15 2016
@@ -91,7 +91,7 @@ public class ValidateMojo extends Abstra
     /**
      * If set to "true" the validation will be skipped.
      */
-    @Parameter
+    @Parameter(property = "htl.skip", defaultValue = "false")
     private boolean skip;
 
     private boolean hasWarnings = false;



Mime
View raw message