Bug 854249

Summary: cglib is missing OSGi metadata (which prevents mockito from resolving properly)
Product: [Fedora] Fedora Reporter: Severin Gehwolf <sgehwolf>
Component: cglibAssignee: Severin Gehwolf <sgehwolf>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: lkundrak, mefoster
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-09-18 14:47:59 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
Proposed fix none

Description Severin Gehwolf 2012-09-04 13:34:37 UTC
Created attachment 609687 [details]
Proposed fix

Mockito imports classes from net.sf.cglib.proxy. In order for the Import-Package statement to be satisfied for it, cglib needs to export packages (and have OSGi metadata in the first place).

I'm attaching a patch with a proposed fix.

Comment 1 Severin Gehwolf 2012-09-04 13:35:44 UTC
If you prefer, you can give commit privileges to me and I'll push the fix myself. Thoughts?

https://admin.fedoraproject.org/pkgdb/acls/name/cglib

Thanks!

Comment 2 Severin Gehwolf 2012-09-17 09:00:19 UTC
Any thoughts?

Comment 3 Lubomir Rintel 2012-09-17 11:33:17 UTC
Thanks a lot!

I've approved your ACLs and remove myself from package, since I'm no longer willing to deal with Java stuff. I'd be thankful if you could take the package.

Reassigning the issue to you.

Comment 4 Severin Gehwolf 2012-09-17 11:53:55 UTC
Thanks for responding, Lubomir!

Comment 5 Severin Gehwolf 2012-09-18 14:47:59 UTC
Fixed with:
http://koji.fedoraproject.org/koji/buildinfo?buildID=354751