On Mon, Jan 23, 2023 at 12:22 AM Jerry James jjames@fedoraproject.org wrote:
On Fri, Jan 20, 2023 at 9:52 PM Jerry James jjames@fedoraproject.org wrote:
maven-scm mizdebsk, trawets
For those affected by this, I've made a COPR with a possible resolution: https://copr.fedorainfracloud.org/coprs/jjames/buildnumber-maven-plugin/. Things to note:
- plexus-interactivity must be unretired.
- I first tried updating maven-scm to version 1.13.0, but it requires
an older version of jgit than we have in Fedora Rawhide. It would not build. I had to go to 2.0.0-M3 to get a successful build.
- There is a possible XMvn bug affecting maven-scm. See the comment
in the %build section. There are duplicate entries in .xmvn-reactor for every pom.xml that includes <packaging>pom</packaging>. I'm not certain if this is an XMvn bug, or if the maven-scm pom.xml files are wrong somehow.
- buildnumber-maven-plugin version 1.4 was too old, so I moved all the
way to 3.0.0. Even then, it needed a small patch to work with maven-scm 2.0.0.
Or we can all remove mvn-scm and buildnumber-maven-plugin from our respective packages' POMs.
I should note that I intend to do the latter for jakarta-json. If somebody wants to keep maven-scm or buildnumber-maven-plugin in Fedora, feel free to take anything you want from that COPR, remove my name, and slap your own in there. I'm not going to do it, however.
I am in favor of removing buildnumber-maven-plugin. In all my packages this plugin is explicitly disabled as it is not very useful for building Fedora packages.
-- Mikolaj Izdebski
Regards,
Jerry James https://www.jamezone.org/ _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue