use the same name for repository and pluginRepository entries in settings.xml

This is required because of http://jira.codehaus.org/browse/MNG-5475
This commit is contained in:
Mike Bonnet 2015-04-20 19:12:59 -04:00 committed by Mike McLean
parent 381645a453
commit 6e480eed1c

View file

@ -250,12 +250,10 @@ class BuildRoot(object):
entries = []
if plugin:
tag_name = 'pluginRepository'
id_suffix = 'plugin-repo'
name_prefix = 'Plugin repository for Koji'
else:
tag_name = 'repository'
id_suffix = 'repo'
name_prefix = 'Repository for Koji'
id_suffix = 'repo'
name_prefix = 'Repository for Koji'
for dep in self.deps:
if isinstance(dep, (int, long)):
# dep is a task ID, the url points to the task output directory