https://bugzilla.redhat.com/show_bug.cgi?id=845877
Bug ID: 845877 QA Contact: extras-qa@fedoraproject.org Severity: unspecified Version: 17 Priority: unspecified CC: java-sig-commits@lists.fedoraproject.org, sochotni@redhat.com Assignee: sochotni@redhat.com Summary: [patch] maven-archetype fails to build from source. OSGI info for catalog.jar Regression: --- Story Points: --- Classification: Fedora OS: Unspecified Reporter: gerard@ryan.lt Type: Bug Documentation: --- Hardware: Unspecified Mount Type: --- Status: NEW Component: maven-archetype Product: Fedora
Created attachment 602399 --> https://bugzilla.redhat.com/attachment.cgi?id=602399&action=edit Fix-jetty-namespace-Add-OSGI-manifest-to-catalog.jar
Description of problem: 1. FTBFS 2. I'm building eclipse-m2e, and it needs catalog.jar from this package to have OSGI info.
Additional info: The mass rebuild[1] shows that this package is broken. The problem is that jetty has a new namespace since this was last built. All references to jetty have been updated.
I've added some handmade OSGI information to catalog.jar. I think it's okay, but it probably should be checked! It works for my needs at least.
Builds successfully for F18[2] and F17[3].
[1] http://koji.fedoraproject.org/koji/packageinfo?packageID=12612 [2] http://koji.fedoraproject.org/koji/taskinfo?taskID=4361812 [3] http://koji.fedoraproject.org/koji/taskinfo?taskID=4361836
https://bugzilla.redhat.com/show_bug.cgi?id=845877
Gerard Ryan gerard@ryan.lt changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #602399|0 |1 is obsolete| |
--- Comment #1 from Gerard Ryan gerard@ryan.lt --- Created attachment 602603 --> https://bugzilla.redhat.com/attachment.cgi?id=602603&action=edit use pom macros to inject OSGI info instead of hand-carving it
I've modified the patch so that the OSGI info is added by maven-plugin-bundle, added with pom macros,
https://bugzilla.redhat.com/show_bug.cgi?id=845877
--- Comment #2 from Gerard Ryan gerard@ryan.lt --- I'm not sure if OSGI info should be added for all jars: I didn't think of it at the time, but with maven-plugin-bundle it would be straightforward I imagine.
https://bugzilla.redhat.com/show_bug.cgi?id=845877
Stanislav Ochotnicky sochotni@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |RAWHIDE Last Closed| |2012-08-07 05:38:36
--- Comment #3 from Stanislav Ochotnicky sochotni@redhat.com --- We'll see about addition of this for all jars. I'll file an upstream bug
Patch applied with a few more changes on top to cleanup export information
java-sig-commits@lists.fedoraproject.org