Bug 424575

Summary: Generic artifact query API
Product: z_Archived Reporter: BK Lau <bklau2006>
Component: AetherAssignee: Project Inbox <aether.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: bklau2006
Version: unspecifiedKeywords: api
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description BK Lau CLA 2013-12-21 15:37:48 EST
Motivation:
There is a real need for an generic Aether API that addresses artifact queries.
Currently, Aether "query" is mostly limited to the VersionRangeRequest call.
Even that, its quite limited.
For example, with maven-aether-provider, we can't even query versions based on
classifier!. And yet we allowed creation of SubArtifacts with a classifier!!

With the advent of devOps in the cloud, there is a need for artifacts storage and versioning and hence querying. Most aether SPI provider sources already provides some form of querying of artifacts(it has to be because you can't use what you don't know you have). So Aether can just provide a high-level API farcade and at least delegate to those existing querying capability.











Reference: Bug-422618