Small fix to if statement! Jelly can be tricky!

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
epugh committed 2003-07-22 15:57:56 +00:00
1 parent ba06a2da8b
commit 1bb179001d
1 file changed
+1 -2
+1 -2
View File
@@ -43,8 +43,7 @@
<!-- Only run PMD if it is enabled -->
<j:set var="enable" value="${maven.pmd.enable}"/>
<!-- Either am bloody dumb or this is the only way to make it work ?! -->
<j:if test="${enable.toString().equalsIgnoreCase('true')}">
<j:if test="${enable == 'true'}">
<attainGoal name="pmd:report"/>
</j:if>