bwalding 2003/04/05 16:16:10
Modified: src/plugins-build/site plugin.jelly
Log:
Make report runner skip reports that have an empty plugin name.
Purely for menu generation.
PR: MAVEN-355
Revision Changes Path
1.14 +4 -2 maven/src/plugins-build/site/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/site/plugin.jelly,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- plugin.jelly 2 Apr 2003 00:13:36 -0000 1.13
+++ plugin.jelly 6 Apr 2003 00:16:10 -0000 1.14
@@ -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>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]