-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move p2 dependency tree logic from tycho-p2-plugin to tycho-core #3417
Conversation
This moves the algorithm which is responsible for calculating the IU dependency tree used by the dependency-tree Mojo to tycho-core, so that it can be used by other projects. For a given project, this tree can be calculated using the P2DependencyTreeGenerator, which can be injected into a Mojo as a simple Plexus component.
Prerequisite to #3258 |
@ptziegler can this maybe even be moved to |
The "tycho-p2-maven-plugin"? |
https://github.com/eclipse-tycho/tycho/tree/main/p2-maven-plugin |
Thanks. I was only looking at the projects starting with "tycho-" and completely missed that one 😅 But no, I need e.g. the TychoProjectManager to calculate the initial set of IUs that are required by a given Maven project. |
Right I though I have moved tychoproject to api already but it seems not the case... |
Test Results 579 files ±0 579 suites ±0 4h 0m 33s ⏱️ + 27m 29s For more details on these failures, see this check. Results for commit fea2bf8. ± Comparison against base commit cf9a060. |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
This moves the algorithm which is responsible for calculating the IU dependency tree used by the dependency-tree Mojo to tycho-core, so that it can be used by other projects.
For a given project, this tree can be calculated using the P2DependencyTreeGenerator, which can be injected into a Mojo as a simple Plexus component.