Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Provide a way to use versions to resolve artifacts
https://bugzilla.redhat.com/show_bug.cgi?id=757732
Summary: Provide a way to use versions to resolve artifacts Product: Fedora Version: rawhide Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: maven AssignedTo: sochotni@redhat.com ReportedBy: sochotni@redhat.com QAContact: extras-qa@fedoraproject.org CC: akurtako@redhat.com, sochotni@redhat.com, java-sig-commits@lists.fedoraproject.org Classification: Fedora Story Points: --- Type: ---
Currently our resolver ignores versions completely and returns unversioned jar all the time.
The change should make it possible to differentiate. So when package A requests gid:aid:version but we don't have that same exact version installed it will return unversioned jar as before.
If however, package B_v2 provides gid:aid:version requested by package A our resolver should prefer jar from this rpm to default unversioned one.
This feature will probably require change to %add_maven_depmap macro as well