aboutsummaryrefslogtreecommitdiffstats
path: root/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh
blob: 6fd225438c3da3934e3b26b73a221801624a7eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

syncProperties=$1                                                                                                                          
                                                                                                                                           
. $syncProperties      

dest=/home/maven/repository-staging/to-ibiblio

rsync -e ssh --delete --max-delete=10 -v -riplt $MAVEN2_REPO/ $IBIBLIO_SYNC_HOST:$M2_IBIBLIO_SYNC_DIR

# M1 Sync only for plugins ...
rsync -e ssh --delete --max-delete=10 -v -riplt $MAVEN1_REPO/ $IBIBLIO_SYNC_HOST:$M1_IBIBLIO_SYNC_DIR