Bug 1023543 - xmvn tries to install package even though %mvn_package foo __noinstall
Summary: xmvn tries to install package even though %mvn_package foo __noinstall
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xmvn
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-25 17:27 UTC by Severin Gehwolf
Modified: 2013-11-05 18:02 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-11-05 18:02:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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