Bug 1235679 - xmvn-builddep: unused artifact with scope provided in output
Summary: xmvn-builddep: unused artifact with scope provided in output
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xmvn
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-25 13:41 UTC by Michael Simacek
Modified: 2015-07-13 10:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-13 10:48:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Simacek 2015-06-25 13:41:01 UTC
Description of problem:
There's an artifact in the output that shouldn't be there (it was removed, but is still required with scope provided).

Version-Release number of selected component (if applicable):
xmvn-2.5.0-0.57.gitecfe4f5.noarch (from jenkins repo)

How reproducible:
always

Steps to Reproduce:
1. rebuild https://msimacek.fedorapeople.org/maven-surefire-2.18.1-1.fc21.src.rpm
2. run xmvn-builddep on the result

Actual results:
There is this artifact in the output:
BuildRequires:  mvn(org.apache.maven.plugins:maven-surefire-plugin:zip:site-source:)
It was originally part of the reactor, but I removed the plugin which created it. There's still a module that has requires on it with scope provided, but it built so the artifact isn't actually used.

Expected results:
The artifact shouldn't be there.

Comment 1 Mikolaj Izdebski 2015-07-13 06:43:29 UTC
Michael, can you provide test case for this?

Comment 2 Michael Simacek 2015-07-13 10:48:26 UTC
My bad, the artifact was actually available due to circular dependency. xmvn-builddep was right, it was resolved during the build


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