activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r572692 - /activemq/scripts/activemq-snapshots-clean.sh
Date Tue, 04 Sep 2007 14:44:45 GMT
Author: jstrachan
Date: Tue Sep  4 07:44:45 2007
New Revision: 572692

URL: http://svn.apache.org/viewvc?rev=572692&view=rev
Log:
Applied the excellent patch from Dejan Bosanac to avoid deleting the last ever snapshot release!
See: http://www.nabble.com/Re%3A-Missing-jars-in-maven-repo--p12478310s2354.html

Modified:
    activemq/scripts/activemq-snapshots-clean.sh

Modified: activemq/scripts/activemq-snapshots-clean.sh
URL: http://svn.apache.org/viewvc/activemq/scripts/activemq-snapshots-clean.sh?rev=572692&r1=572691&r2=572692&view=diff
==============================================================================
--- activemq/scripts/activemq-snapshots-clean.sh (original)
+++ activemq/scripts/activemq-snapshots-clean.sh Tue Sep  4 07:44:45 2007
@@ -1,6 +1,6 @@
 #!/usr/local/bin/bash
 
-find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/ -type f -mtime
+7 -exec rm {} \; 
-find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel/ -type f -mtime
+7 -exec rm {} \;
-find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/ -type f -mtime
+7 -exec rm {} \;  
+find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/ -type f -mtime
+7 -not -newer /www/people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-parent/maven-metadata.xml
-exec rm {} \; 
+find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel/ -type f -mtime
+7 -not -newer /www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel/camel-parent/maven-metadata.xml
-exec rm {} \;
+find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/ -type f -mtime
+7 -not -newer /www/people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/maven-metadata.xml
-exec rm {} \;
 find /www/people.apache.org/repo/m2-snapshot-repository/incubator-activemq/ -type f -mtime
+7 -exec rm {} \; 



Mime
View raw message