[fedora-java] What's new in javapackages-tools 4.0.0

Michal Srb msrb at redhat.com
Thu Jun 12 08:07:57 UTC 2014


Hello,

Better late than never. Here comes quick summary of most important 
changes in latest javapackages-tools release:

- changes in %pom_* macros (contributed by Michael Simacek, thanks!):
     - new macro %pom_change_dep for changing dependencies in Maven POM 
files or Ivy modules
         - see man pom_change_dep for more details
     - macros %pom_change_dep, %pom_remove_dep, %pom_remove_plugin, 
%pom_xpath_remove and %pom_xpath_replace now support recursive mode
         - see corresponding man pages for more details
- Requires generator now generates auto-requires instead of XMvn when 
(sub)packages contain only POM artifacts
     - this change shouldn't be visible to end users
- new subpackage javapackages-local
     - %mvn_* macros (except %mvn_build) were moved to this subpackage
     - no changes to existing spec files shouldn't be needed. This 
subpackage is useful when you don't build your package with xmvn, but 
you still want to use the rest of the %mvn_ macros (e.g. %mvn_install).

Latest javapackages-tools release internally works with new metadata and 
no longer produce old fragments/depmaps. This can cause "error: File not 
found: ... /usr/share/maven-fragments/%{name}" build failure. For more 
information on this topic see my "how to fix..." email [1].

Michal

[1]: 
https://lists.fedoraproject.org/pipermail/java-devel/2014-June/005269.html



More information about the java-devel mailing list