Work around jelly bug when null value is provided
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113686 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be7204e145
commit
dc1968cd6c
@ -122,12 +122,14 @@
|
|||||||
|
|
||||||
<goal name="java:jar-resources"
|
<goal name="java:jar-resources"
|
||||||
description="Copy any resources that must be present in the deployed JAR file">
|
description="Copy any resources that must be present in the deployed JAR file">
|
||||||
|
<j:set var="build" value="${pom.build}"/>
|
||||||
<j:if test="${!pom.build.resources.isEmpty()}">
|
<j:if test="${!empty(build)}">
|
||||||
<resources:copy
|
<j:if test="${!pom.build.resources.isEmpty()}">
|
||||||
resources="${pom.build.resources}"
|
<resources:copy
|
||||||
todir="${maven.build.dest}"
|
resources="${pom.build.resources}"
|
||||||
/>
|
todir="${maven.build.dest}"
|
||||||
|
/>
|
||||||
|
</j:if>
|
||||||
</j:if>
|
</j:if>
|
||||||
</goal>
|
</goal>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user