portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject svn commit: r220141 - /portals/jetspeed-2/trunk/maven-plugin/maven.xml
Date Thu, 21 Jul 2005 17:02:46 GMT
Author: weaver
Date: Thu Jul 21 10:02:45 2005
New Revision: 220141

URL: http://svn.apache.org/viewcvs?rev=220141&view=rev
Log:
see JS2-314: http://issues.apache.org/jira/browse/JS2-314

Modified:
    portals/jetspeed-2/trunk/maven-plugin/maven.xml

Modified: portals/jetspeed-2/trunk/maven-plugin/maven.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/maven-plugin/maven.xml?rev=220141&r1=220140&r2=220141&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/maven-plugin/maven.xml (original)
+++ portals/jetspeed-2/trunk/maven-plugin/maven.xml Thu Jul 21 10:02:45 2005
@@ -60,7 +60,22 @@
 
     <goal name="undeploy-plugin">
         <attainGoal name="plugin:uninstall-now" />
-        <delete dir="${maven.home.local}/plugins/${maven.final.name}" verbose="false"
/>
+        <util:available file="${maven.home.local}/plugins">
+          <delete>
+            <fileset dir="${maven.home.local}/plugins" >
+              <include name="**/${pom.artifactId}*" />
+            </fileset>
+          </delete>
+        </util:available>
+        
+        <util:available file="${maven.home.local}/cache">
+          <delete>
+            <fileset dir="${maven.home.local}/cache" >
+              <include name="**/${pom.artifactId}*" />
+              <include name="**/*.cache" />
+            </fileset>
+          </delete>   
+        </util:available>                  
     </goal>
 
     <goal name="copyPortalWebApp">



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message