MPXDOC-104 : fix jelly check for empty maven.xdoc.distributionUrl
Patch submitted by : Rafal Krzewski Patch reviewed by : Lukas Theussl git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@279192 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
|
||||
<!-- Only display a "Downloads" menu link if the
|
||||
maven.xdoc.distributionUrl has been defined -->
|
||||
<j:if test="${context.getVariable('maven.xdoc.distributionUrl') != null}">
|
||||
<j:if test="${!empty(context.getVariable('maven.xdoc.distributionUrl'))}">
|
||||
<item key="navigation.menu.item.downloads"
|
||||
bundle="plugin-resources.templates.templates"
|
||||
name="Downloads" href="/downloads.html" />
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
property is not defined -->
|
||||
<j:choose>
|
||||
|
||||
<j:when test="${context.getVariable('maven.xdoc.distributionUrl') == null}">
|
||||
<j:when test="${empty(context.getVariable('maven.xdoc.distributionUrl'))}">
|
||||
<p>
|
||||
You must define the <code>maven.xdoc.distributionUrl</code>
|
||||
property if you wish to generate the download report.
|
||||
|
||||
Reference in New Issue
Block a user