Replies: 2 comments
Likely yes because that how it is supposed to work as you described:
I also started a task to improve the documentation to make this more clear here: |
0 replies
|
Thank you, that put me on the right track. What was missing from your suggestion was <repositoryReferenceFilter>
<exclude>${url-to-repo2}</exclude>
</repositoryReferenceFilter>to actually not exclude the content of |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a Tycho (5.0.2) build of some plug-ins with two
<repositories>as target platform.repo1ishttps://download.eclipse.org/releases/2025-09/andrepo2is a collection of in-house plug-ins. As the plugins of this build are intended to be installed in a regular Eclipse installation, the generated repository should contain needed dependencies fromrepo2, but nothing fromrepo1.The only I way I can see to achieve that is to manually list each and every plugin in the feature, including plugins I use directly, but also transitive dependencies. Especially the latter part feels like trial and error right now: Try to install from the repository, look what's missing, add that, build again, repeat.
I was investigating
tycho-p2-repository:assemble-repositoryto see if there isn't an easier way to do that. BasicallyincludeAllDependenciesplus a filter to exclude everything fromrepo1. Either by referencing the repository directly, or even just by excluding every plugin that starts withorg.eclipse.*, but no such luck.Am I missing something? This really feels like there should be smarter way to do this.
All reactions