jvanzyl 2002/06/27 14:43:26
Modified: src/templates/build/plugins/checkstyle plugin.jelly
Log:
Get checkstyle to obey the sourcesPresent property set in the core
plugin.
Revision Changes Path
1.3 +3 -7
jakarta-turbine-maven/src/templates/build/plugins/checkstyle/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/checkstyle/plugin.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plugin.jelly 27 Jun 2002 19:59:49 -0000 1.2
+++ plugin.jelly 27 Jun 2002 21:43:26 -0000 1.3
@@ -3,7 +3,7 @@
<project xmlns:j="jelly:core">
<!-- ================================================================== -->
- <!-- C H E C K S T Y L E -->
+ <!-- C H E C K S T Y L E -->
<!-- ================================================================== -->
<taskdef
@@ -20,11 +20,7 @@
<goal name="checkstyle">
- <!-- <j:if test="${flags.sourcesPresent}"> -->
-
- <echo>!!!! ${pom.build.sourceDirectory}</echo>
- <echo>!!!! ${maven.checkstyle.includes}</echo>
- <echo>!!!! ${maven.checkstyle.excludes}</echo>
+ <j:if test="${sourcesPresent == 'true'}">
<checkstyle
properties="${maven.checkstyle.properties}"
@@ -49,7 +45,7 @@
</classpath>
</dvsl>
- <!-- </j:if> -->
+ </j:if>
</goal>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>