Bug 845877 - [patch] maven-archetype fails to build from source. OSGI info for catalog.jar
Summary: [patch] maven-archetype fails to build from source. OSGI info for catalog.jar
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-archetype
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-06 02:05 UTC by Gerard Ryan
Modified: 2012-08-07 09:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 09:38:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fix-jetty-namespace-Add-OSGI-manifest-to-catalog.jar (13.75 KB, patch)
2012-08-06 02:05 UTC, Gerard Ryan
no flags Details | Diff
use pom macros to inject OSGI info instead of hand-carving it (13.06 KB, patch)
2012-08-06 23:34 UTC, Gerard Ryan
no flags Details | Diff

Description Gerard Ryan 2012-08-06 02:05:19 UTC
Created attachment 602399 [details]
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

Comment 1 Gerard Ryan 2012-08-06 23:34:09 UTC
Created attachment 602603 [details]
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,

Comment 2 Gerard Ryan 2012-08-06 23:57:05 UTC
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.

Comment 3 Stanislav Ochotnicky 2012-08-07 09:38:36 UTC
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


Note You need to log in before you can comment on or make changes to this bug.