mirror of https://github.com/apache/archiva.git
Add cica.es primary mirror
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@518404 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
921bec7d3a
commit
84c3e21c4d
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
[ "$1" = "" ] && echo && echo "You must pass in the synchronize.properties file!" && echo && exit
|
||||
|
||||
. $1
|
||||
|
||||
echo ">>>>>>>>>>>>>>>>>> Syncing Maven 2.x repository to cica.es"
|
||||
|
||||
rsync -e ssh --delete --max-delete=10 -v -riplt $MAVEN2_REPO/ $CICA_USERNAME@$CICA_SYNC_HOST:$M2_CICA_SYNC_DIR
|
|
@ -26,9 +26,6 @@ export REPOCLEAN=$TOOLS_BASE/m1-m2-conversion
|
|||
export CONVERSION_PROPERTIES=$REPOCLEAN/conversion.properties
|
||||
export M1_M2_REWRITE_RULES=$SYNC_TOOLS/m1-m2-mod-rewrite-rules.txt
|
||||
export SYNC_REPORTS=$HOME/repository-staging/to-ibiblio/reports/sync
|
||||
export IBIBLIO_SYNC_HOST=login.ibiblio.org
|
||||
export M1_IBIBLIO_SYNC_DIR=/public/ftp/pub/packages/maven
|
||||
export M2_IBIBLIO_SYNC_DIR=/export/mirrors/maven2
|
||||
export JAVA_HOME=/opt/java/sdk/current
|
||||
export JAVA_CMD=$JAVA_HOME/bin/java
|
||||
export JAVA_OPTS="-ms32m -mx384m"
|
||||
|
@ -37,3 +34,14 @@ export JAVA="$JAVA_CMD $JAVA_OPTS"
|
|||
export STAGING_DIR=$HOME/repository-staging/to-ibiblio
|
||||
export MAVEN1_REPO=$STAGING_DIR/maven
|
||||
export MAVEN2_REPO=$STAGING_DIR/maven2
|
||||
|
||||
|
||||
# ibiblio.org
|
||||
export IBIBLIO_SYNC_HOST=login.ibiblio.org
|
||||
export M1_IBIBLIO_SYNC_DIR=/public/ftp/pub/packages/maven
|
||||
export M2_IBIBLIO_SYNC_DIR=/export/mirrors/maven2
|
||||
|
||||
# cica.es
|
||||
export CICA_USERNAME=m-maven
|
||||
export CICA_SYNC_HOST=ftp.cica.es
|
||||
export M2_CICA_SYNC_DIR=/home/m-maven/maven2
|
||||
|
|
Loading…
Reference in New Issue