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

(cherry picked from commit eb7fb38a80)
This commit is contained in:
Martin Ruckli 2017-12-28 11:26:13 +01:00 committed by Mathieu Parent
parent 094bd33279
commit a85f1465d5
No known key found for this signature in database
GPG key ID: AE03980466681FA5

View file

@ -388,6 +388,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