Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] is it possible to override version requirements?
  • From: "Homer, Tony" <tony.homer@xxxxxxxxx>
  • Date: Sun, 31 Jan 2021 21:12:50 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ydNBUsYK8zIolyAAyzb4FexTINCQBmbdf0gKUi8Rw/s=; b=K4R3ZLeoxPzUnCvuN4CLmW5F/xtkkhuHSbxh4oAKBFLHVvmL5deCWUgNHn9Ga2tKMA2LGDaAO9wFqOM+O1/0xDMEN7bEi+k7OHo1vrojVpP6xvk0cm0AQeZVcgDkDZKfjmNxlSjwGTfbtJ9ESacm/KUcH8s05akt/f1qyACAO8X9LPRirfR0zd1GALCAG4qKHcDe8maqw4105RdYtcNmAR8Tjgp41GwStTcR5qIFHCWQ+2x8Yd9BSxwM+BvPT29e6+QegFKWZBBVsQK3bEMV5JAKYjtCUHYo7LcyT6Q+LRaI85Cn2hOIMcSODtrTPk+cC1P4iny/AusS/yG+2Ega9g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=Hm4/c9yip+hi8iMgsTsDYRPaLIvQSZO1+XN3yRhTW4wk08gYm3g98KO0NU42bmO2OMksghS8LSsRFo508oWbyBcd+i5d3vZTkwI+dvoTxRmw/gXkhz/iRFcr7jWF1XHH+hnVEOBAjxay95qbpICt6lwJL1wPQALPZIiFNNnSPp+gGRF96ehRfp73S6HYeRSlQ2hEjQ3sSJXQhqH23aaCSA66dnA8ksUqMOTS5zZweTIfaN4awf0jRJvgSN7LhBFEi9+fGZwvbCOlYxrJYN+lscphPZaMHPmfTJ8GXHP2CpHqEvZyztBSlyp/dzgkQZFvH8cB2Z9haKbvhLfScoirvg==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • Ironport-sdr: ODUG3rND2pjir5Lm9iH/eV5XrWZzmQSiLyziujKlcbPWaSrgawuicYbz9nkaWBb8YdXsaL/nA6 2VE/0McJ9gPQ==
  • Ironport-sdr: MVgdVfo9STF5z8ElB7H862AwAt8HspD4YzvymsYofbebWEcmIeUzqEujrRUigIyY+QwZsmNprb Bmlyrr5GHdsg==
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Thread-index: AQHW+BXUavhN1gdjF0CE56sjTFq4Gw==
  • Thread-topic: [tycho-user] is it possible to override version requirements?
  • User-agent: Microsoft-MacOutlook/16.45.21010502

Thanks Rolf!  I didn’t know about this possibility and it seems like it matches my goals.

Reading the comments, 378794 is blocked by 372780, but fortunately, Christoph and Mickael are both involved



The bug describes a workaround for the problem which I understand, but I’m not sure how to integrate a feature patch into my build for producing an Eclipse product.


I suppose after I make the feature patch and deploy it to a combined P2 repo (as described in, I would add it to the product file and the target definition.  Would dependency resolution respect the dependency version in my feature patch?

I’ll have to experiment with it, I suppose, but if anyone has used feature patches in an eclipse product that is being built for distribution, please let me know!


Thanks again, Rolf!

Tony Homer


From: tycho-user <tycho-user-bounces@xxxxxxxxxxx> on behalf of Rolf Theunissen <rolf.theunissen@xxxxxxxxx>
Reply-To: Tycho user list <tycho-user@xxxxxxxxxxx>
Date: Sunday, January 31, 2021 at 6:19 AM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] is it possible to override version requirements?




Isn't this where Feature patches are intended for? "A Feature Patch Project can contain plug-ins which replace existing plug-ins.", see or

Though feature patches are not well supported by Tycho, see


Best Regards,




Op zo 31 jan. 2021 om 00:06 schreef Mickael Istria <mistria@xxxxxxxxxx>:



On Sat, Jan 30, 2021 at 11:28 PM Homer, Tony <tony.homer@xxxxxxxxx> wrote:

However, today I wondered, is it somehow to possible to override the dependency requirements?


But in this case, the issue is really that the feature requires the "regular" version and Tycho won't change the feature. So even if you manage to hack the dependency resolution at build time, this resolution error you see now in Tycho would still be likely to happen later for people trying to install...


So in this case, you'll need to tweak the org.eclipse.ecf.filetransfer.httpclient45.feature (or most likely build a fork of it) so it doesn't require this specific version of the bundle, but can use any version. This is usually possible by replacing a direct <plugin> element (which mandates specific version) by a `<requires><import plugin="org.apache.httpcomponents.httpclient"/></requires>` which results in more open version range and would pick anyone that matches.

If you add the fixed bundle build and the "relaxed" feature build to your build, they should be used by the product instead of the ones from upstream, and it should then work; unless there is something else that requires the specific version of feature or bundle.



tycho-user mailing list
To unsubscribe from this list, visit

Back to the top