Only copy poweredby logo if it exists (not necessarily the case if a custom logo is used).
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@387336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0c5bbc994c
commit
366d748a14
@ -964,9 +964,12 @@
|
|||||||
<!-- excluded by default from previous -->
|
<!-- excluded by default from previous -->
|
||||||
<j:set var="var" value="${maven.xdoc.poweredby.image}" />
|
<j:set var="var" value="${maven.xdoc.poweredby.image}" />
|
||||||
<j:if test="${!empty(var)}">
|
<j:if test="${!empty(var)}">
|
||||||
<mkdir dir="${_resourcesDestDir}/images/logos" />
|
<util:file var="poweredbyfile" name="${plugin.resources}/images/logos/${var}"/>
|
||||||
<copy todir="${_resourcesDestDir}/images/logos"
|
<j:if test="${poweredbyfile.exists()}">
|
||||||
file="${plugin.resources}/images/logos/${var}" />
|
<mkdir dir="${_resourcesDestDir}/images/logos" />
|
||||||
|
<copy todir="${_resourcesDestDir}/images/logos"
|
||||||
|
file="${plugin.resources}/images/logos/${var}" />
|
||||||
|
</j:if>
|
||||||
</j:if>
|
</j:if>
|
||||||
|
|
||||||
</j:forEach>
|
</j:forEach>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user