Bug 806571 - Add cglib:cglib to the maven dependencies map of cglib
Summary: Add cglib:cglib to the maven dependencies map of cglib
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cglib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-24 22:08 UTC by Juan Hernández
Modified: 2012-10-23 10:09 UTC (History)
3 users (show)

Fixed In Version: 2.2-11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-23 10:09:41 UTC
Type: ---
Embargoed:


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

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.


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