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.
Regards,