On Thu, 2013-07-18 at 15:39 +0200, Mikolaj Izdebski wrote:
A new major version (2.0.0) of Java Packages Tools (javapackages)
just been released. Java Packages Tools is a collection of all kind
tools, script and macros to support packaging Java.
Starting from version 2.0.0 Java Packages Tools includes functionality
of JPackage Utilities (jpackage-utils) that is useful for Fedora. This
will allow jpackage-utils package to be obsoleted and provided by
javapackages-tools (see below for more detailed explanation).
%add_maven_depmap macro now injects pom.properties to every JAR file it
processes. This will allow XMVn Subst to be used to replace any JAR
files that are in system Maven repository, not only those built with
Maven. It will allow xmvn-subst to be effectively used to replace
bundled JARs with symlinks after package built, which will allow
simplification of packages containing complex symlinking in %install
sections (for example jboss-as) as well as many Eclipse plugins.
%add_to_maven_depmap and %update_maven_depmap macros were removed.
These macros have been obsolete for long time. Their usage was
preventing Fedora from implementing some features related to Maven
metadata. Packages using these macros will have to be ported to use
%add_maven_depmap or they will fail to build.
maven2jpp-mapdeps.xsl template has been removed. This template wasn't
been used. XMvn has its own way of mapping dependencies. To best of my
knowledge nothing in Fedora used this template.
Macros related to installation of icons and desktop files were removed.
These legacy macros were out of scope of Java Packages Tools --
standard Fedora macros should be used instead.
14 new manual pages were added. These manpages document RPM macros
(such ad %pom_* macros) and commands related to packaging Java. More
manual pages are planned in future.
Thanks! This will be very useful indeed!