Bug 845877

Summary: [patch] maven-archetype fails to build from source. OSGI info for catalog.jar
Product: [Fedora] Fedora Reporter: Gerard Ryan <fedora>
Component: maven-archetypeAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: java-sig-commits, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 09:38:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix-jetty-namespace-Add-OSGI-manifest-to-catalog.jar
none
use pom macros to inject OSGI info instead of hand-carving it none

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