Description of problem: Uyuni requires the tomcat-juli.jar artifact. As tomcat-juli.jar is installed into /usr/share/tomcat/bin/tomcat-juli.jar and not (anymore?) into /usr/share/java, none of the standard build tools will find the required classes (i.e. build-classpath, build-classpath-directory, build-jar-repository ). Can you please provide a symlink ln -s -f %{bindir}/tomcat-juli.jar %{buildroot}%{libdir}/ or via %mvn_alias ? If this is OK, i am also happy to provide the PR. Version-Release number of selected component (if applicable): Tomcat 9.0.65 and 9.0.73 Expected result: Tomcat for EPEL9 contains tomcat-juli in the resolvable classpath.
I took a quick look and the removal of that logic was intentional (as part of some maven cleanup), however it seemingly introduced a bug requiring that we add the jar back to the libdir. Thanks for the report! The commit that removed it is at https://src.fedoraproject.org/rpms/tomcat/c/972b590988e15d6d82db951aa8b14a2ef06e0cc9?branch=epel9. Please also note that the tomcat package will be retired from EPEL next month as it is available in RHEL. See https://bugzilla.redhat.com/show_bug.cgi?id=2168636 for more details.
I took a quick look at rawhide and seems that this issue affects that branch too. Since tomcat was retired from EPEL, I've moved this issue over to rawhide to be fixed there.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
FEDORA-2023-fc4b6ec3e0 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-fc4b6ec3e0
FEDORA-2023-fc4b6ec3e0 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
Thank you. How would the fix get into the RHEL9 repo? Would we need a new ticket?
FEDORA-2023-7e20da184c has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7e20da184c
FEDORA-2023-7e20da184c has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.