aboutsummaryrefslogtreecommitdiffstats
path: root/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh
blob: 720711790a494e0a3a693a43f08d7c736be3b322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

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-repoclean
dst=$dir/maven2

rsync --ignore-existing -rvpl $src/ $dst/ > $log

for f in `cat $log | grep maven-metadata.xml$` ; do
  md5sum $dst/$f > $dst/$f.md5;
  sha1sum $dst/$f > $dst/$f.sha1;
  md5sum $src/$f > $src/$f.md5;
  sha1sum $src/$f > $src/$f.sha1;
done