Red Hat Bugzilla – Bug 988462
add_maven_depmap macro should respect additional (-a) depmaps
Last modified: 2013-07-26 08:04:16 EDT
Running the add_maven_depmap script with N additional mappings specified (using -a) results in the mapping from the pom file being repeated N+1 times in the fragment file. The gid/aid/version of the additional mappings are never set in the loop that prints out the content of the Fragment class. I guess one way around this could be to just set the contents of the fragment each time to a different gid/aid/version.
I've attached a patch that seems to get things working. Feel free to change as needed.
Created attachment 778351 [details]
Thank you for the report and patch.
It appears to fix a known bug, I'll look into it.
Fixed upstream in 2.0.1:
Fixed in javapackages-tools-2.0.1-1
I believe that this bug is fixed in javapackages-tools-2.0.1-1,
which is available in Fedora Rawhide, so I am closing this bug now.
The build containing the fix can be found at Koji: