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?


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