Bug 806571

Summary: Add cglib:cglib to the maven dependencies map of cglib
Product: [Fedora] Fedora Reporter: Juan Hernández <juan.hernandez>
Component: cglibAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: lkundrak, mefoster, mizdebsk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.2-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-23 10:09:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Proposed patch to add cglib:cglib to the dependencies map none

Description Juan Hernández 2012-03-24 22:08:03 UTC
Description of problem:

Apparently "cglib" is the maven group id that this project uses upstream. We are currently including only "net.sf.cglib" in the maven dependencies map inside the file "/usr/share/maven-fragments/cglib", but "cglib" in the POM inside the file "/usr/share/maven-poms/JPP-cglib.pom". This generates some problems when building packages that use the upstream group id that are usually solved patching their POMs.

Why are we using "net.sf.cglib"? If there is a reason for that can we at least add "cglib" as an alternative group id?

Version-Release number of selected component (if applicable):

cglib-2.2-9.fc17

How reproducible:

Always.

Steps to Reproduce:

1. Try to build using mvn-rpmbuild any package that requires cglib using "cglib:cglib" as the group id and artifact id.
  
Actual results:

The build fails.

Expected results:

The build should succeed.


Additional info:

Comment 1 Juan Hernández 2012-03-24 22:11:51 UTC
Created attachment 572466 [details]
Proposed patch to add cglib:cglib to the dependencies map

This patch ads cglib:cglib to the dependencies map. In fact it uses the %add_maven_depmap macro so that the gid:aid are taken from the POM. The "-a" option is used to add the previous "net.sf.cglib:cglib".

Comment 2 Mikolaj Izdebski 2012-10-23 10:09:41 UTC
Fixed in Fedora 18+ in 2.2-11.