| Summary: | Tomcat subpackages don't have fragments (jars are invisible to maven) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stanislav Ochotnicky <sochotni> |
| Component: | tomcat | Assignee: | Ivan Afonichev <ivan.afonichev> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | akurtako, ivan.afonichev, java-sig-commits |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tomcat-7.0.25-2.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-30 20:55:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Same thing for the pom files. Basically pom, jar and fragments must always be in the same (sub)package or at least require package that pulls in the others, otherwise the whole thing doesn't work tomcat-7.0.25-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/tomcat-7.0.25-2.fc16 Package tomcat-7.0.25-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tomcat-7.0.25-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0805/tomcat-7.0.25-2.fc16 then log in and leave karma (feedback). tomcat-7.0.25-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Tomcat spec correcly uses add_to_maven_depmap macros, but generated fragments (%{depmapfragdir}/%{name}) are all included in main package. Fragments should be placed in a subpackage that contains given jar/pom file. I.e. tomcat-libs should contain fragments for all jars placed into tomcat-libs subpackage. With new style macro you can do it like this: add_maven_depmap XXX.pom XXX.jar -f "fragment-suffix" This will put generated fragment into %{depmapfragdir}/%{name}-fragment-suffix so it can be included in appropriate subpackage. Without this change package that would normally only require tomcat-libs (or other subpackage) have to require whole tomcat package. If more information is needed, feel free to ask.