blob: 33477b5c770225cff84e2cba70e234de2199d24f [file] [log] [blame]
#!/bin/bash
[ "$1" = "" ] && echo && echo "You must pass in the synchronize.properties file!" && echo && exit
. $1
echo ">>>>>>>>>>>>>>>>>> Syncing Maven 2.x repository to Ibiblio"
rsync -e ssh --delete --max-delete=10 --exclude "/**/.svn" -O -v -riplt $MAVEN2_REPO/ $IBIBLIO_SYNC_HOST:$M2_IBIBLIO_SYNC_DIR
echo ">>>>>>>>>>>>>>>>>> Syncing Maven 1.x plugins to Ibiblio"
# M1 Sync only for plugins ...
rsync -e ssh -v -riplt $MAVEN1_REPO/ $IBIBLIO_SYNC_HOST:$M1_IBIBLIO_SYNC_DIR