o adding the m2 repository sync into the standard process

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@468022 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2006-10-26 14:47:46 +00:00
parent 6354c84c82
commit 4d6ac8dfd5
2 changed files with 16 additions and 3 deletions

View File

@ -4,5 +4,6 @@ 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 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

View File

@ -1,11 +1,12 @@
#!/bin/sh
# ------------------------------------------------------------------------
# 1. Sync Maven 1.x repositories
# 1. Sync Maven 1.x repositories to central
# 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
# 4. Sync Maven 2.x repositories to central
# 5. Sync the Maven 2.x repository to Ibiblio
# 6. Copy the mod_rewrite rules to the Maven 1.x repository @ Ibiblio
# ------------------------------------------------------------------------
MODE=$1
@ -75,6 +76,17 @@ mv $CL/maven-metadata.xml.tmp $CL/maven-metadata.xml
md5sum $CL/maven-metadata.xml > $CL/maven-metadata.xml.md5
sha1sum $CL/maven-metadata.xml > $CL/maven-metadata.xml.sha1
# ------------------------------------------------------------------------
# 4. Sync Maven 2.x repositories to central
# ------------------------------------------------------------------------
[ "$MODE" = "batch" ] && echo && echo "Press any key to sync Maven 2.x repositories to central, or hit ^C to quit." && echo
(
cd $M2_SYNC
./m2-sync.sh go
)
# ------------------------------------------------------------------------
# Ibiblio synchronization: sync the central repository to Ibiblio
# ------------------------------------------------------------------------