Make report runner skip reports that have an empty plugin name.

Purely for menu generation.
PR: MAVEN-355


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113271 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding committed 2003-04-06 00:16:10 +00:00
1 parent 787f3ce08e
commit 73fd760a65
1 file changed
+4 -2
+4 -2
View File
@@ -31,8 +31,10 @@
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('reports')}"/>
<j:forEach var="report" items="${reports}">
<echo>Generating the ${report.get('name')}...</echo>
<attainGoal name="${report.get('pluginName')}:report"/>
<j:if test="${!empty(report.get('pluginName'))}">
<echo>Generating the ${report.get('name')}...</echo>
<attainGoal name="${report.get('pluginName')}:report"/>
</j:if>
</j:forEach>
</goal>