[NEXUS-4766] Use classifier/extension from existing maven metadata if available

https://issues.sonatype.org/browse/NEXUS-4766
https://bamboo.zion.sonatype.com/browse/NX-OSSF39