add jaxen special case, improve script for local use

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2006-01-10 21:50:32 +00:00
parent 636d54c0a8
commit 5e8aafd2cf
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,10 @@
#!/bin/sh #!/bin/sh
cp ibiblio-htaccess /home/projects/maven/repository-staging/to-ibiblio/maven/.htaccess if [ "`hostname`" == "beaver.codehaus.org" ]; then
scp ibiblio-htaccess login.ibiblio.org:/public/html/maven/.htaccess cp ibiblio-htaccess /home/projects/maven/repository-staging/to-ibiblio/maven/.htaccess
else
scp ibiblio-htaccess maven@beaver.codehaus.org:/home/projects/maven/repository-staging/to-ibiblio/maven/.htaccess
fi
scp ibiblio-htaccess maven@login.ibiblio.org:/public/html/maven/.htaccess

View File

@ -10,6 +10,7 @@ RewriteEngine on
RewriteBase /maven/ RewriteBase /maven/
RewriteRule /dom4j/jars/dom4j-(.+).jar$ /maven2/dom4j/dom4j/$1/dom4j-$1.jar [L] RewriteRule /dom4j/jars/dom4j-(.+).jar$ /maven2/dom4j/dom4j/$1/dom4j-$1.jar [L]
RewriteRule /jaxen/jars/jaxen-1.0-FCS-full.jar$ /maven2/jaxen/jaxen/1.0-FCS/dom4j-1.0-FCS-full.jar [L]
RewriteRule /cactus/jars/cactus-([0-9]+)-(.+).jar$ /maven2/cactus/cactus/$1-$2/cactus-$1-$2.jar [L] RewriteRule /cactus/jars/cactus-([0-9]+)-(.+).jar$ /maven2/cactus/cactus/$1-$2/cactus-$1-$2.jar [L]
RewriteRule /commons-logging/jars/commons-logging-1.1-dev.jar /maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar [L] RewriteRule /commons-logging/jars/commons-logging-1.1-dev.jar /maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar [L]
RewriteRule /strutstestcase/jars/strutstestcase-(.+).jar /maven2/strutstestcase/strutstestcase/$1/strutstestcase-$1.jar [L] RewriteRule /strutstestcase/jars/strutstestcase-(.+).jar /maven2/strutstestcase/strutstestcase/$1/strutstestcase-$1.jar [L]