Bug 1217473

Summary: xmvn-builddep generates buildrequires on plugins that weren't used
Product: [Fedora] Fedora Reporter: Michael Simacek <msimacek>
Component: xmvnAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: java-sig-commits, mizdebsk, msimacek, msrb
Target Milestone: ---Keywords: Triaged, Upstream, VerifiedUpstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.5.0-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-28 18:05:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Simacek 2015-04-30 12:45:10 UTC
Description of problem:
xmvn-builddep generates buildrequires on plugins that weren't used during the build. Usually observed when the artifacts don't exist in Fedora.

Version-Release number of selected component (if applicable):
xmvn-2.4.0-0.28.git49333a9.noarch

How reproducible:
always

Steps to Reproduce:
1. rebuild log4j
2. run xmvn-builddep on the build.log

Actual results:
It generates buildrequires on artifact that doesn't exits in Fedora:
mvn(org.apache.maven.plugins:maven-pdf-plugin)

Expected results:
Buildrequires generated only on plugins that were actually used during the build.

Comment 1 Mikolaj Izdebski 2015-05-06 11:56:42 UTC
Integration test added upstream: https://github.com/mizdebsk/xmvn/commit/ab22669

Comment 2 Mikolaj Izdebski 2015-05-06 16:41:44 UTC
Fixed upstream: https://github.com/mizdebsk/xmvn/commit/50621b1
Verified upstream - integration test is passing.

Comment 3 Jan Kurik 2015-07-15 14:12:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 4 Mikolaj Izdebski 2015-10-28 17:35:26 UTC
Fixed in xmvn-2.5.0-1

Comment 5 Mikolaj Izdebski 2015-10-28 18:05:26 UTC
I believe that this bug is fixed in xmvn-2.5.0-1,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=694810

This bug was fixed in the next release of Fedora, and it is currently
not planned to be fixed in the release it was filed against.
You can update to the newer release of Fedora to get the fix.