Hello,
recently a few new RPM macros that ease patching pom.xml files
were introduced. Instead of creating and maintaining series of
traditional patches you can now call %pom_* macros directly from
the %prep section. These macros are described in
/etc/rpm/macros.fjava, which is installed with
javapackages-tools. There is also some guidance on usage of
these macros included in the draft of Java packaging guidelines,
available at:
https://fedoraproject.org/wiki/User:Akurtakov/JavaPackagingDraftUpdate#Pa...
Feel free to use these macros in your packages. For now this
feature is available in Fedora Rawhide only, but there are plans
on backporting it to Fedora 16 and 17. If you find any bugs or
have any suggestions, please report them (here, on IRC or in
Bugzilla -- javapackages-tools component).
Mikolaj Izdebski