Make report runner skip reports that have an empty plugin name.
Purely for menu generation. Jexl oddity corrected PR: MAVEN-355 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -31,9 +31,10 @@
|
||||
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('reports')}"/>
|
||||
|
||||
<j:forEach var="report" items="${reports}">
|
||||
<j:if test="${!empty(report.get('pluginName'))}">
|
||||
<j:set var="reportName" value="${report.get('pluginName')}"/>
|
||||
<j:if test="${!empty(reportName)}">
|
||||
<echo>Generating the ${report.get('name')}...</echo>
|
||||
<attainGoal name="${report.get('pluginName')}:report"/>
|
||||
<attainGoal name="${reportName}:report"/>
|
||||
</j:if>
|
||||
</j:forEach>
|
||||
</goal>
|
||||
|
||||
Reference in New Issue
Block a user