|[tycho-user] optional dependencies in materialized products with tycho 0.14.0
I realize this topic has been repeatedly discussed in the past, but I'd like to ask what I should expect using tycho 0.14.0.
It's about optional dependencies showing up in materialized products. Say I have bundle A built inside my reactor, and it has a require-bundle dependency on bundle B. Bundle B is not built in the reactor and is found in the target-platform. Bundle B has a number of optional import-package directives, and some of those optional packages are exported by other bundles (e.g. bundle C) also found in the target-platform.
Before using tycho, the materialized product contains bundles A and B. Using tycho 0.14.0 eclipse-repository, the materialized product contains bundles A, B and C.
After reviewing some older posts, there have been suggestions to:
1. use p2.inf to make dependency resolution not greedy
2. restrict the target-platform
3. wait for or use newer versions of P2 
Just wondering if there is any updated guidance on how I can use eclipse-repository, and materialize products without the optional dependencies?
Back to the top