Community
Participate
Working Groups
This is a follow-up to bug 351842 and bug 367701. Test runtime should not include optional dependencies of 'this' reactor projects, i.e. the test project, regardless of <optionalDependencies> dependency resolution configuration parameter. All desired dependencies should be included to the test runtime via <dependencies> tycho-surefire-plugin configuration paramater. Workaround is to explicitly configu optionalDependencies=ignore for the test project.
(In reply to Igor Fedorenko from comment #0) > Test runtime should not include optional dependencies of 'this' reactor > projects, I don't get why they should or should not. It seems to me there is no behavior that is always better than the other. So let's stick to the one that seems consistent with dependency resolution and let people who don't want optional dependencies explicitly exclude them.