Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] <optionalDependencies> configuration parameter

Igor Fedorenko wrote: 
> <optionalDependencies> affects dependency resolution. compiler-plugin is
> one consumer of resolved dependencies, but optionalDependencies should
> affect all consumers of resolved project dependnecies, so having
> optionalDependencies under compiler configuration is misleading.

Currently, this is not the case:
- There is no such thing as "the" dependency resolution. The dependencies are resolved once for compilation and once again for the test runtime. And there are good reasons that this is done separately. Therefore it is a bit pointless to talk about "the" dependency resolution.
- Also, the way the optionalDependencies switch is implemented, only affects the resolution of the dependencies of bundles in the current reactor. This is broken (see bug 367701 [1])

Regards
Tobias


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=367701



Back to the top