https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Bug ID: 1026353 Summary: maven requires generator should include which "other artifacts" require some artifact X in error message Product: Fedora Version: rawhide Component: javapackages-tools Assignee: sochotni@redhat.com Reporter: sgehwolf@redhat.com QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, mizdebsk@redhat.com, msrb@redhat.com, sochotni@redhat.com
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
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Michael Simacek msimacek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msimacek@redhat.com
--- Comment #1 from Michael Simacek msimacek@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |FutureFeature Doc Type|Bug Fix |Enhancement
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Stanislav Ochotnicky sochotni@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|maven requires generator |Improve "Following |should include which "other |artifacts were built but |artifacts" require some |are not being installed" |artifact X in error message |error message
--- Comment #2 from Stanislav Ochotnicky sochotni@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Michael Simacek msimacek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|sochotni@redhat.com |msimacek@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Michael Simacek msimacek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #3 from Michael Simacek msimacek@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Upstream Status|MODIFIED |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|msimacek@redhat.com |mizdebsk@redhat.com
--- Comment #4 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com --- This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |4.1.0-2
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|rawhide |21
https://bugzilla.redhat.com/show_bug.cgi?id=1026353
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2014-07-16 08:38:23
--- Comment #5 from Mikolaj Izdebski mizdebsk@redhat.com --- 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
java-sig-commits@lists.fedoraproject.org