Red Hat Bugzilla – Bug 845877
[patch] maven-archetype fails to build from source. OSGI info for catalog.jar
Last modified: 2012-08-07 05:38:36 EDT
Created attachment 602399 [details]
Description of problem:
2. I'm building eclipse-m2e, and it needs catalog.jar from this package to have OSGI info.
The mass rebuild 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 and F17.
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,
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.
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