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:
dion 2003-07-23 06:32:49 +00:00
parent be7204e145
commit dc1968cd6c

View File

@ -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>