[fedora-java] mvn virtual packages (auto-provides/requires)

Mikolaj Izdebski mizdebsk at redhat.com
Thu Sep 12 03:00:38 UTC 2013


On 09/12/2013 03:18 AM, Orion Poplawski wrote:
> On 09/11/2013 05:58 AM, Mikolaj Izdebski wrote:
>> Java Packages Tools version 3.0.0 has recently been pushed to rawhide.
>> Since this version virtual packages generated automatically for Maven
>> artifacts (aka auto-provides) were extended slightly.  In this email I
>> will describe briefly the new format of virtual package names.
>>
>> All Maven virtual package names used to be in format:
>>
>> mvn(groupId:artifactId) = version
>>
>> This has recently been extended to four different forms:
>>
>> mvn(groupId:artifactId) = version
>> mvn(groupId:artifactId:compatVersion) = version
>> mvn(groupId:artifactId:extension:compatVersion) = version
>> mvn(groupId:artifactId:extension:classifier:compatVersion) = version
>>
> 
> I'm sure this is great.  I wonder how much of an impact it will have on
> the size of the primary yum metadata.

It shouldn't affect it much.  classifiers, non-jar extensions and
compatibility packages are quite rare.  groupID is usually the longest
part and it was already part of the virtual package name.

-- 
Mikolaj Izdebski
IRC: mizdebsk


More information about the java-devel mailing list