port hack to trunk

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-09-22 17:28:40 +00:00
parent 2a31b513f9
commit dcc6a599b2
1 changed files with 3 additions and 0 deletions

View File

@ -982,6 +982,9 @@ def verifyArtifactPerPOMtemplate(POMtemplates, artifacts, tmpDir, version):
xpathSkipConfiguration = '{0}configuration/{0}skip'.format(namespace)
for project in ('lucene', 'solr'):
for POMtemplate in POMtemplates[project]:
if not POMtemplate.endswith('.xml.template'):
continue
print(' Checking POM template %s' % POMtemplate)
treeRoot = ET.parse(POMtemplate).getroot()
skipDeploy = False
for plugin in treeRoot.findall(xpathPlugin):