Red Hat Bugzilla – Bug 1023543
xmvn tries to install package even though %mvn_package foo __noinstall
Last modified: 2013-11-05 13:02:51 EST
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.
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
Build fails with FileNotFoundException of the thermostat-distribution jar file.
Don't try to find/install thermostat-distribution file.
Here is an example build log:
This is a task which I expect fails, once it's finished:
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.
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?
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.
Seems fixed. Closing.
For reference a passing thermostat rawhide build using xmvn: http://koji.fedoraproject.org/koji/taskinfo?taskID=6140584