Bug 1023543

Summary: xmvn tries to install package even though %mvn_package foo __noinstall
Product: [Fedora] Fedora Reporter: Severin Gehwolf <sgehwolf>
Component: xmvnAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mizdebsk, msrb, sgehwolf, sochotni, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-05 18:02:02 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 Severin Gehwolf 2013-10-25 17:27:30 UTC
Description of problem:
Thermostat fails to build in rawhide due to xmvn installer mojo trying to install a __noinstall artifact.

Version-Release number of selected component (if applicable):
Version available in rawhide.

How reproducible:
Always in rawhide.

Steps to Reproduce:
1. fedpkg clone thermostat
2. look at the spec file which has %mvn_package com.redhat.thermostat:thermostat-distribution __noinstall
3. fedpkg build

Actual results:
Build fails with FileNotFoundException of the thermostat-distribution jar file.

Expected results:
Don't try to find/install thermostat-distribution file.

Here is an example build log:
http://kojipkgs.fedoraproject.org//work/tasks/8836/6098836/build.log

This is a task which I expect fails, once it's finished:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6099482

Note that f20 builds work fine with the same spec file. Also keep in mind that the spec file in master will change soon in master due to an upcoming thermostat upgrade.

Comment 1 Mikolaj Izdebski 2013-11-05 16:33:19 UTC
thermostat has a complex structure and a very complex spec file.
This makes it difficult for me to investigate what is going on.
Can you provide a simple reproducer?

Comment 2 Severin Gehwolf 2013-11-05 16:59:51 UTC
I think this doesn't occur any longer in rawhide. I'll get back to you if it does still fail, but a scratch build passed today so it might as well be already fixed.

Comment 3 Severin Gehwolf 2013-11-05 18:02:02 UTC
Seems fixed. Closing.

Comment 4 Severin Gehwolf 2013-11-05 18:02:51 UTC
For reference a passing thermostat rawhide build using xmvn: http://koji.fedoraproject.org/koji/taskinfo?taskID=6140584