Bug 806571 - Add cglib:cglib to the maven dependencies map of cglib
Add cglib:cglib to the maven dependencies map of cglib
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: cglib (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Mikolaj Izdebski
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-24 18:08 EDT by Juan Hernández
Modified: 2012-10-23 06:09 EDT (History)
3 users (show)

See Also:
Fixed In Version: 2.2-11
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-10-23 06:09:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch to add cglib:cglib to the dependencies map (2.13 KB, patch)
2012-03-24 18:11 EDT, Juan Hernández
no flags Details | Diff

  None (edit)
Description Juan Hernández 2012-03-24 18:08:03 EDT
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 18:11:51 EDT
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 06:09:41 EDT
Fixed in Fedora 18+ in 2.2-11.

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