Bug 844772

Summary: Ignore all defined environments when running in local mode
Product: [Fedora] Fedora Reporter: Roland Grunberg <rgrunber>
Component: tychoAssignee: Roland Grunberg <rgrunber>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 17CC: akurtako, java-sig-commits, orion, rgrunber
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-23 23:32:13 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 Roland Grunberg 2012-07-31 18:14:25 UTC
When a set of environments are defined in a pom, under the target-platform-configuration plugin, Tycho will attempt to resolve dependencies for each of the specified environments. If we're running in local mode, and offline (eg. mvn-rpmbuild), then we should ignore other environments and just build for the running environment.

Comment 1 Fedora Update System 2012-08-01 13:39:19 UTC
tycho-extras-0.15.0-1.fc17, tycho-0.15.0-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/FEDORA-2012-11197/tycho-extras-0.15.0-1.fc17,tycho-0.15.0-3.fc17

Comment 2 Fedora Update System 2012-08-02 11:20:42 UTC
Package tycho-extras-0.15.0-1.fc17, tycho-0.15.0-3.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tycho-extras-0.15.0-1.fc17 tycho-0.15.0-3.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11197/tycho-extras-0.15.0-1.fc17,tycho-0.15.0-3.fc17
then log in and leave karma (feedback).

Comment 3 Roland Grunberg 2012-08-10 15:37:20 UTC
The functionality introduced by 8520b94c739bf4815bc39091f0971bb267ba872d (tycho f17 branch) can cause certain builds to fail since certain plugins might require an environment that doesn't match the system's. We have introduced the flag tycho.local.keepTarget which will allow the build to use the target platform environments defined in the poms instead of defaulting to the system's environment.

Comment 4 Roland Grunberg 2012-08-10 20:20:49 UTC
*** Bug 837967 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2012-08-13 02:26:37 UTC
Package tycho-extras-0.15.0-1.fc17, tycho-0.15.0-4.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tycho-extras-0.15.0-1.fc17 tycho-0.15.0-4.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11197/tycho-extras-0.15.0-1.fc17,tycho-0.15.0-4.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-08-23 23:32:13 UTC
tycho-extras-0.15.0-1.fc17, tycho-0.15.0-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.