Only skip files start with maven-metadata.xml 54/13654/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 26 Nov 2018 03:05:51 +0000 (11:05 +0800)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 26 Nov 2018 04:02:36 +0000 (12:02 +0800)
commit7ffd6769fab6ac1af36f1a05311208a04a592aaf
tree34e11904d2ff3abca9980fa74360f21db0868990
parentebba29583eda773649c6ff4de89d4cbce7c93a80
Only skip files start with maven-metadata.xml

Ensure we are only skipping files that start with maven-metadata.xml*
Having the word "maven-metadata" in our artifact is fine as long as it
is not a Maven 2 repo file which is exactly 'maven-metadata.xml' the
trialing * is to ensure it does not pick up the checksum files too.

Also reword the function docs to be more clear about what it does.

Issue: RELENG-1512
Change-Id: Icc20e4581a74625506ac9a0ff5d5e17b45034ccc
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
lftools/deploy.py