From f54e4f47f21111a1c198eea428f26e38c89ceac5 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Tue, 2 Feb 2016 10:07:51 -0500 Subject: [PATCH] Improve excludes rules for Maven metadata 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 --- jjb/autorelease/include-raw-autorelease-maven-deploy.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jjb/autorelease/include-raw-autorelease-maven-deploy.sh b/jjb/autorelease/include-raw-autorelease-maven-deploy.sh index 41f344ff2..eb614b23b 100644 --- a/jjb/autorelease/include-raw-autorelease-maven-deploy.sh +++ b/jjb/autorelease/include-raw-autorelease-maven-deploy.sh @@ -28,8 +28,7 @@ mkdir -p m2repo/org/opendaylight/ (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/ @@ -37,8 +36,7 @@ done) # 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/ -- 2.36.6