mirror of https://github.com/apache/archiva.git
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@463003 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
92b7375f66
commit
39819a074c
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
export CENTRAL_HOST=maven01.managed.contegix.com
|
||||
export TOOLS_BASE=$HOME/components/maven-meeper/src/bin
|
||||
export SYNC_TOOLS=$TOOLS_BASE/synchronize
|
||||
export SYNCOPATE=$SYNC_TOOLS/syncopate
|
||||
export REPOCLEAN=$TOOLS_BASE/m1-m2-conversion
|
||||
export M1_M2_REWRITE_RULES=$SYNC_TOOLS/m1-m2-mod-rewrite-rules.txt
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
# 2. Convert Maven 1.x repository to Maven 2.x repository
|
||||
# 3. Manual fixes
|
||||
# 4. Sync the Maven 2.x repository to Ibiblio
|
||||
# 5. Copy the mod_rewrite rules to the Maven 2.x repository
|
||||
# ------------------------------------------------------------------------
|
||||
|
||||
PID=$$
|
||||
|
@ -65,3 +66,13 @@ echo Synchronizing to ibiblio
|
|||
)
|
||||
retval=$?; if [ $retval != 0 ]; then exit $retval; fi
|
||||
|
||||
# ------------------------------------------------------------------------
|
||||
# Copy the mod_rewrite rules to the Maven 1.x repository
|
||||
# ------------------------------------------------------------------------
|
||||
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
|
||||
|
||||
scp $M1_M2_REWRITE_RULES maven@login.ibiblio.org:/public/html/maven/.htaccess
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "`hostname`" == $CENTRAL_HOST ]; then
|
||||
cp ibiblio-htaccess $HOME/repository-staging/to-ibiblio/maven/.htaccess
|
||||
else
|
||||
scp ibiblio-htaccess maven@maven.org:~maven/repository-staging/to-ibiblio/maven/.htaccess
|
||||
fi
|
||||
|
||||
scp ibiblio-htaccess maven@login.ibiblio.org:/public/html/maven/.htaccess
|
||||
|
Loading…
Reference in New Issue