Bug 971301 - tycho: Always tries to resolve all build plugins
Summary: tycho: Always tries to resolve all build plugins
Alias: None
Product: Fedora
Classification: Fedora
Component: tycho   
(Show other bugs)
Version: rawhide
Hardware: Unspecified Unspecified
Target Milestone: ---
Assignee: Roland Grunberg
QA Contact: Fedora Extras Quality Assurance
Keywords: Patch
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-06 08:57 UTC by Mikolaj Izdebski
Modified: 2013-06-15 03:07 UTC (History)
3 users (show)

Fixed In Version: tycho-0.18.0-2.fc19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-06-15 03:07:59 UTC
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed patch (1.78 KB, patch)
2013-06-06 08:58 UTC, Mikolaj Izdebski
no flags Details | Diff

Description Mikolaj Izdebski 2013-06-06 08:57:09 UTC
Description of problem:
Tycho always tries to resolve all build plugins, even if they are not needed during Maven lifecycle. This means that Tycho will try to resolve plugins like clean, deploy or site, which aren't normally used during package build.

The code that iterates over all plugins and tries to resolve them can be found in PluginRealmHelper.java

Version-Release number of selected component (if applicable):

As a workaround I suggest adding Requires on all plugins that are present in Maven super POM.

Comment 1 Mikolaj Izdebski 2013-06-06 08:58:18 UTC
Created attachment 757557 [details]
Proposed patch

Comment 2 Roland Grunberg 2013-06-06 13:48:21 UTC
This seems like the right thing to do. I'll apply this to rawhide and f19. Thanks again for the patch.

Comment 4 Fedora Update System 2013-06-06 15:51:50 UTC
tycho-0.18.0-2.fc19, tycho-extras-0.18.0-1.fc19 has been submitted as an update for Fedora 19.

Comment 5 Fedora Update System 2013-06-07 15:39:23 UTC
Package tycho-0.18.0-2.fc19, tycho-extras-0.18.0-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tycho-0.18.0-2.fc19 tycho-extras-0.18.0-1.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-06-15 03:07:59 UTC
tycho-0.18.0-2.fc19, tycho-extras-0.18.0-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

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