Replies: 2 comments 2 replies
-
Current approach for the Eclipse platform is described in https://bugs.eclipse.org/bugs/show_bug.cgi?id=510186. Also see https://bugs.eclipse.org/bugs/show_bug.cgi?id=570685 for the report that the SWT artifacts seems not working if sourced from Maven central. |
Beta Was this translation helpful? Give feedback.
-
That's a good proposal which would make the dependency-inclusion more powerful and more clear. So +1 from me. In case of absent Or would the case of absent |
Beta Was this translation helpful? Give feedback.
-
Currently the dependency scope is used in the target location as follows:
While implementing that feature in tycho and trying to get both in sync I noticed that this is maybe not enough and it was at other places noticed by @HannesWell that it might not fit the expectation or confuse users.
I therefore like to propose the following adjustments that would better fit the maven model and the actual dependency resolution process:
includeDependencyDepth
that could take the valueNONE
(no dependencies included),DIRECT
(only direct dependency child's are included),INFINITE
(all transitive dependencies are included)NONE
is consider the same asDIRECT
The good thing is that we can simply assume that if
includeDependencyDepth
is missing andincludeDependencyScope
is specified we can assumeINFINITE
and thus would be able to be backward compatible to the existing format with auto-upgrading from the previous format.FYI @vogella
Comments are welcome, if there are no concerns I'd like to get this feature into the upcoming 2.6.x release of tycho and prepare a patch for m2e as well.
Beta Was this translation helpful? Give feedback.
All reactions