The exclusion rules were missing the files maven-metadata.xml. This
update improves the rules to catch them.
Change-Id: I6eff0fec59b63ceb85218a76f37fa2fe2b086435
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
(IFS='
'
for m in `xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -m '//x:modules' -v '//x:module' ../../../../pom.xml`; do
(IFS='
'
for m in `xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -m '//x:modules' -v '//x:module' ../../../../pom.xml`; do
- rsync -avz --exclude 'maven-metadata-local.xml' \
- --exclude 'maven-metadata-*' \
+ rsync -avz --exclude 'maven-metadata*' \
--exclude '_remote.repositories' \
--exclude 'resolver-status.properties' \
"/tmp/r/org/opendaylight/$m" m2repo/org/opendaylight/
--exclude '_remote.repositories' \
--exclude 'resolver-status.properties' \
"/tmp/r/org/opendaylight/$m" m2repo/org/opendaylight/
# Add exception for integration project since they release under the
# integration top-level project.
# Add exception for integration project since they release under the
# integration top-level project.
-rsync -avz --exclude 'maven-metadata-local.xml' \
- --exclude 'maven-metadata-*' \
+rsync -avz --exclude 'maven-metadata*' \
--exclude '_remote.repositories' \
--exclude 'resolver-status.properties' \
"/tmp/r/org/opendaylight/integration" m2repo/org/opendaylight/
--exclude '_remote.repositories' \
--exclude 'resolver-status.properties' \
"/tmp/r/org/opendaylight/integration" m2repo/org/opendaylight/