mirror of https://github.com/apache/archiva.git
o adding a couple more properties
o we only ever run this from this machine git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9d6a5070ca
commit
2c0ea8df98
|
@ -7,3 +7,7 @@ export SYNCOPATE=$SYNC_TOOLS/syncopate
|
|||
export M2_SYNC=$SYNC_TOOLS/m2-sync
|
||||
export REPOCLEAN=$TOOLS_BASE/m1-m2-conversion
|
||||
export M1_M2_REWRITE_RULES=$SYNC_TOOLS/m1-m2-mod-rewrite-rules.txt
|
||||
|
||||
export STAGING_DIR=$HOME/repository-staging/to-ibiblio
|
||||
export MAVEN1_REPO=$STAGING_DIR/maven
|
||||
export MAVEN2_REPO=$STAGING_DIR/maven2
|
||||
|
|
|
@ -72,7 +72,7 @@ retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
|||
echo "Removing commons-logging 1.1-dev"
|
||||
|
||||
# hack prevent commons-logging-1.1-dev
|
||||
CL=$HOME/repository-staging/to-ibiblio/maven2/commons-logging/commons-logging
|
||||
CL=$MAVEN2_REPO/commons-logging/commons-logging
|
||||
rm -rf $CL/1.1-dev
|
||||
grep -v 1.1-dev $CL/maven-metadata.xml > $CL/maven-metadata.xml.tmp
|
||||
mv $CL/maven-metadata.xml.tmp $CL/maven-metadata.xml
|
||||
|
@ -113,10 +113,6 @@ retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
|||
|
||||
echo "Copying rewrite rules into place"
|
||||
|
||||
if [ "hostname" == $CENTRAL_HOST ]; then
|
||||
cp $M1_M2_REWRITE_RULES $HOME/repository-staging/to-ibiblio/maven/.htaccess
|
||||
else
|
||||
scp $M1_M2_REWRITE_RULES maven@maven.org:~maven/repository-staging/to-ibiblio/maven/.htaccess
|
||||
fi
|
||||
cp $M1_M2_REWRITE_RULES $MAVEN1_REPO/.htaccess
|
||||
|
||||
scp $M1_M2_REWRITE_RULES maven@login.ibiblio.org:/public/html/maven/.htaccess
|
||||
|
|
Loading…
Reference in New Issue