https://bugzilla.redhat.com/show_bug.cgi?id=1340820
Bug ID: 1340820
Summary: XMvn: mock agent doesn't install dependency with scope
runtime
Product: Fedora
Version: rawhide
Component: xmvn
Assignee: mizdebsk(a)redhat.com
Reporter: msimacek(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)redhat.com, mizdebsk(a)redhat.com,
msimacek(a)redhat.com, msrb(a)redhat.com
Description of problem:
When building plexus-archiver with missing BR on xz-java, pm_request doesn't
install it.
Version-Release number of selected component (if applicable):
xmvn-2.5.0-6.fc24.noarch
How reproducible:
always
Steps to Reproduce:
1. checkout plexus-archiver
2. remove BR on xz-java
3. build with mock --enable-plugin pm_request
Actual results:
[DEBUG] Trying to resolve artifact org.tukaani:xz:jar:1.5
[DEBUG] Trying to install artifact with external command: /usr/bin/python3
/usr/share/java-utils/request-artifact.py maven 'org.tukaani:xz:jar:1.5'
[INFO] Artifact installed with external command: org.tukaani:xz:jar:1.5
...
[ERROR] Failed to execute goal on project plexus-archiver: Could not resolve
dependencies for project org.codehaus.plexus:plexus-archiver:jar:3.3: Cannot
access central (
https://repo.maven.apache.org/maven2) in offline mode and the
artifact org.tukaani:xz:jar:1.5 has not been downloaded from it before. ->
[Help 1]
Expected results:
xz-java installed by pm_request and package built
Additional info:
For some reason, it only tries to install compat version, not the regular one.
I think it has something to do with the dependency having scope "runtime". The
package is also missing from xmvn-builddep output after the package is built
with the BR added.
--
You are receiving this mail because:
You are on the CC list for the bug.