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

Mikolaj Izdebski mizdebsk at redhat.com
Wed Sep 11 11:58:03 UTC 2013


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

* groupId and artifactId are upstream identifiers of the artifact.
Version is artifact version, as set by upstream.

* compatVersion is the compatibility version assigned by package
maintainer.  This is Fedora-specific.  compatVersion can differ from
version.

* extension is extension of artifact file, for example jar, war, pom,
tar.gz and so on.  If extension is omitted then it defaults to jar.

* classifier is artifact classifier.

This email describes only one feature of javapackages-tools-3.0.0.
Full release notes will be provided by Stanislav Ochotnicky in a
separate email.

-- 
Mikolaj Izdebski
IRC: mizdebsk


More information about the java-devel mailing list