mirror of https://github.com/apache/lucene.git
Enable comparisons between Solr distribution artifact names (apache-solr-*) and those of Maven artifacts (solr-*)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304662 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d7bccac40b
commit
6fc8fa052c
|
@ -571,7 +571,10 @@ def checkIdenticalMavenArtifacts(distributionFiles, nonMavenizedDeps, artifacts,
|
|||
for project in ('lucene', 'solr'):
|
||||
distFilenames = dict()
|
||||
for file in distributionFiles[project]:
|
||||
distFilenames[os.path.basename(file)] = file
|
||||
baseName = os.path.basename(file)
|
||||
if project == 'solr': # Remove 'apache-' prefix to allow comparison to Maven artifacts
|
||||
baseName = baseName.replace('apache-', '')
|
||||
distFilenames[baseName] = file
|
||||
for artifact in artifacts[project]:
|
||||
if reJarWar.search(artifact):
|
||||
if artifact not in nonMavenizedDeps.keys():
|
||||
|
|
Loading…
Reference in New Issue