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;