aboutsummaryrefslogtreecommitdiffstats
path: root/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh')
-rwxr-xr-xmaven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh b/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh
index 6048d1a12..fa9f4d16b 100755
--- a/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh
+++ b/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh
@@ -1,11 +1,16 @@
#!/bin/sh
+syncProperties=$1
+
+. $syncProperties
+
java -jar archiva-cli-1.0-SNAPSHOT-cli.jar -c synchronize.properties
#java -jar archiva-cli-1.0-SNAPSHOT-cli.jar -c synchronize-java.net.properties
dir=/home/maven/repository-staging/to-ibiblio
src=$dir/maven2-converted-from-maven1
dst=$dir/maven2
+log=$SYNC_REPORTS/last-changes.log
rsync --ignore-existing -rvpl $src/ $dst/ > $log