[fedora-java] javapackages-tools 3.0.x release notes

Stanislav Ochotnicky sochotnicky at redhat.com
Wed Sep 11 16:33:53 UTC 2013


As Mikolaj already pointed out most important part of new javapackages-tools
visible from packager's POV (classifiers/extensions in provides/requires), I'll
summarize the rest.

* Features
** Add %mvn_compat_version macro 
    
    This provides integration with XMvn to support compatibility packages. 
    Simple macro invocation
        
        %mvn_compat_version : %{version}

    will result in package only providing versioned provides. This is now enough
    to create compat package from non-compat package with XMvn

** python library for handling pom.xml files, fragment files

    This was split off from maven.req/maven.prov to deduplicate code and enable
    better testing. Contained in python-javapackages RPM, the library is usable from python
    prompt. Just do:

        >>> import javapackages
        >>> help(javapackages)

** Support for extended Maven artifact specification

    In each place that previously accepted groupId:artifactId pair, it is
    currently possible to use full specification:

    groupId:artifactId[:extension[:classifier]][:version]

    if extension or classifier are included but version is not, the
    specification must end with colon (":") to ensure we can distinguish between
    variations.

** add_maven_depmap macro support for artifacts without pom.xml

    First argument of add_maven_depmap macro can now be a Maven artifact
    specification instead of pom.xml file. This specification has to include
    version.

** Improved mvn_alias macro

    It's currently possible to omit parts of alias definitions and they will be
    filled from main artifact. Example:
    
        %mvn_alias gId:aId :alternative

    Would create alias for gId:alternative

* Bugfixes

** (#977975) Improve adding POM dependencies and plugins
** (#977977) Improve pom_ macros to preserve whitespace and indentation
** (#998322) add_pom_dep_mgmt injects incorrect xml 
** (#998463) whitespace breaks XML node matching for pom macros 

* Improvements

** Set of unit tests for mvn_ macros and RPM provides/requires generation
   library (maven.prov and maven.req TBD)
** Documentation added for library part of javapackages



-- 
Stanislav Ochotnicky <sochotnicky at redhat.com>
Software Engineer - Developer Experience

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: signature
URL: <http://lists.fedoraproject.org/pipermail/java-devel/attachments/20130911/95d3dbde/attachment.sig>


More information about the java-devel mailing list