Support Maven option --also-make-dependents, and --resume-from for project dependency resolution #577
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a basic prototype for #48 and #551 and also a showcase that Tycho could use P2 without the need of running it inside an OSGi-Framework (FYI @merks).
With this change (and enabling the tycho-build extension) the test cases from #564 succeed.
As there where some discussion why we don't "just fix this after such a long time", I'd like to give some insights about the efforts put into this prototype up to now (and its not complete but should work for common cases):
Beside the discussions and analysis in #48 with the useful hint/example code in #551 (thanks @sratz) and the provided test-cases in #564 (thanks @joeshannon) the following changes and refactoring where a perquisite:
To make this sustainable in the future the following changes in external projects where triggered and PRs provided:
Altogether I approximately spend 20 hrs of development time with coding, writing issues, reviewing, analysis and test.
And as mentioned this is a prototype and it is not complete, there is more work to do to make this complete and more useful (e.g. at the moment project dependencies are resolved twice once for graph building and once in the regular build).
Lust but not least I think we can integrate this at the current state in Tycho if there are no concern ( @mickaelistria @akurtakov ).
If this is crucial to someones business/workflow and likes to push the development forward in that area a sponsoring would allow me to assign more time-slots on these particular issue. Of course one can always contact me directly or contribute upon this initial prototype.