Attached is a patch for deploy plugin.  It fixes the following problem:

When <deploy:artifact> is invoked more than once and two types of artifacts are
deployed, all the artifacts are deployed to the directory of the first type.
The problem is caused by <ant:property>. 
<ant:property> does not set for the second time.  It is replaced by <j:set>

--
Willie Vu
Index: plugin.jelly
===================================================================
RCS file: /home/cvspublic/maven/src/plugins-build/deploy/plugin.jelly,v
retrieving revision 1.6
diff -u -u -r1.6 plugin.jelly
--- plugin.jelly        3 Jun 2003 05:20:35 -0000       1.6
+++ plugin.jelly        5 Jun 2003 02:57:44 -0000
@@ -63,14 +63,14 @@
       <j:set var="typeX" value="${type}X"/>
       <j:choose>
         <j:when test="${typeX != 'X'}">
-          <ant:property 
-            name="resolvedDirectory" 
+          <j:set 
+            var="resolvedDirectory" 
             value="${siteDirectory}/${pom.artifactDirectory}/${type}"
           />
         </j:when>
         <j:otherwise>
-          <ant:property 
-            name="resolvedDirectory" 
+          <j:set 
+                                               var="resolvedDirectory" 
             value="${siteDirectory}/${pom.artifactDirectory}"
           />
         </j:otherwise>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to