aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason van Zyl <jvanzyl@apache.org>2006-11-29 19:13:38 +0000
committerJason van Zyl <jvanzyl@apache.org>2006-11-29 19:13:38 +0000
commit63f6445bd80532b483fc5f1aaed7cabfee3383ed (patch)
tree2ec87d732342ad7bf3f1a14f8b7007a343baa8d1
parent4f9e9df329d394cd404f90e55c46ceb54f894650 (diff)
downloadarchiva-63f6445bd80532b483fc5f1aaed7cabfee3383ed.tar.gz
archiva-63f6445bd80532b483fc5f1aaed7cabfee3383ed.zip
o change the base for the new ibiblio location
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@480686 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--maven-meeper/src/bin/synchronize/m1-m2-mod-rewrite-rules.txt16
1 files changed, 1 insertions, 15 deletions
diff --git a/maven-meeper/src/bin/synchronize/m1-m2-mod-rewrite-rules.txt b/maven-meeper/src/bin/synchronize/m1-m2-mod-rewrite-rules.txt
index 7baa12450..b57fc3ee8 100644
--- a/maven-meeper/src/bin/synchronize/m1-m2-mod-rewrite-rules.txt
+++ b/maven-meeper/src/bin/synchronize/m1-m2-mod-rewrite-rules.txt
@@ -3,10 +3,8 @@
## MAVEN 1.0.2 doesn't deal with redirects. Avoid them
RewriteEngine on
-#RewriteLog c:/home/brett/scm/codehaus/maven/maven/rewrite.log
-#RewriteLogLevel 9
-RewriteBase /maven/
+RewriteBase /pub/mirrors/maven
RewriteRule org.codehaus.modello/jars/modello-plugin-dom4j-(.+).jar(.*)$ /maven2/org/codehaus/modello/modello-plugin-dom4j/$1/modello-plugin-dom4j-$1.jar$2 [L]
RewriteRule org.codehaus.modello/jars/modello-plugin-xpp3-(.+).jar(.*)$ /maven2/org/codehaus/modello/modello-plugin-xpp3/$1/modello-plugin-xpp3-$1.jar$2 [L]
@@ -23,13 +21,8 @@ RewriteRule jython/jars/jython-20020827-no-oro.jar /maven2/jython/jython/2002082
RewriteRule xpp3/jars/xpp3-1.1.3.4-(.+?).jar /maven2/xpp3/xpp3/1.1.3.4/xpp3-1.1.3.4-$1.jar [L]
# rewrite // to /
-#RewriteRule ^/maven//(.*) /maven/$1
RewriteRule ^/(.*)$ /maven/$1
-#RewriteRule ^/(.*)$ /maven/$1 [R]
# rewrite mapped artifact
-#RewriteRule ^(.*)(\.sha1)$ ${artifact-map:$1|$1}$2 [PT]
-#RewriteRule ^(.*)(\.md5)$ ${artifact-map:$1|$1}$2 [PT]
-#RewriteRule ^(.*)$ ${artifact-map:$1|$1}
# rewrite artifact
# don't translate plugins - they aren't copied in the reposync
RewriteRule ^([^/]+)/(jar|pom|config|distribution|java-source|dist|dtd|ear|ejb|license|licence|nbm|rar|sar|tld|war|xml|zip)s/([^0-9]+)-([0-9].+)\.([^0-9]+)(\.md5|\.sha1){0,1}$ r/$1/$3/$4/$3-$4.$5$6 [PT]
@@ -38,10 +31,3 @@ RewriteRule ^([^/]+)/(jar|pom|config|distribution|java-source|dist|dtd|ear|ejb|l
RewriteRule ^r/([^/]+)\.(.*)$ r/$1/$2 [PT] [N]
# final redirect
RewriteRule ^r/(.*)$ /maven2/$1
-#RewriteRule ^r/(.*)$ /maven2/$ [R]
-
-# rewrite for browsing
-#RewriteRule ^/maven$ /maven2/ [R]
-#RewriteRule ^/maven/([^/]+)/(.+)s/(.*)$ /maven2/$1/$3 [R]
-#RewriteRule ^/maven/(.*)$ /maven2/$1 [R]
-