fixes #31179 by appling the same logic as used in the nexus module

This commit is contained in:
Martin Ruckli 2017-12-28 11:26:13 +01:00
parent 7b7eb740de
commit eb7fb38a80

View File

@ -387,6 +387,9 @@ def _get_snapshot_version_metadata(artifactory_url, repository, group_id, artifa
extension = snapshot_version.find('extension').text
value = snapshot_version.find('value').text
extension_version_dict[extension] = value
if snapshot_version.find('classifier') is not None:
classifier = snapshot_version.find('classifier').text
extension_version_dict[classifier] = value
return {
'snapshot_versions': extension_version_dict