On a local build of thermostat I see this: Traceback (most recent call last): File "/usr/lib/rpm/maven.req", line 123, in <module> builder = TagBuilder () File "/usr/lib/rpm/maven.req", line 63, in __init__ self.print_mvn_requires(path) File "/usr/lib/rpm/maven.req", line 101, in print_mvn_requires raise Exception(skipped_msg) Exception: Following artifacts were built but are not being installed however other artifacts require them. Either package these artifacts or do not build them. To package call %mvn_package in %prep: %mvn_package com.redhat.thermostat:thermostat-common-test:::0.15.0 <package_name> Following artifacts were built but are not being installed however other artifacts require them. Either package these artifacts or do not build them. To package call %mvn_package in %prep: %mvn_package com.redhat.thermostat:thermostat-common-test:::0.15.0 <package_name> close failed in file object destructor: sys.excepthook is missing lost sys.stderr Could not execute local: Non zero exit thermostat-common-test is a test-only dep (should be <scope>test</scope> only). Apparently there is a thermostat bug in a module which has common-test not scoped as test. Long story short, it would be faster if the error message would include gId:artifactId of the depending modules requiring module X which has been configured via %mvn_package X __noinstall
I'm afraid this can not be solved in the requires generator, because it sees only the depmap. And the depmap contains list of dependencies for whole project, but there's no information about which module produced which dependency.
I'm changing the scope of this to simplify stuff. Let's provide generic steps to debug/figure out solution for this issue and why it's happening.
Requires generator now tries to find installed POMs and find which artifact requires the skipped/unknown artifact and print its coordinates. It should be available in upstream commit 67b450b
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I believe that this feature is included in javapackages-tools-4.1.0-2, which is available in Fedora 21, so I am closing this bug now. The build which includes the feature can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=543061