javapackages-tools 3.0.x release notes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Software Engineer - Developer Experience

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com

Attachment: signature.asc
Description: signature

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux