If I remember it correctly, originally tycho was injecting "standard" maven dependencies and this was causing problems specifically because maven resolver was re-resolving them transitively. As I already mentioned, we plan to add support for packaging eclipse distribution, but we have not considered making maven-dependency-plugin (or similar) work with transitive OSGi dependencies.

Max Spring wrote:
On 12/4/2008 7:09 PM, Igor Fedorenko wrote:
 > Max Spring wrote:
...
 >> On 12/4/2008 1:24 PM, Igor Fedorenko wrote:
...
 >>> Also, Tycho injects Eclipse/OSGi into maven model and theory
 >>> maven-dependency-plugin is expected to work. I just checked that
>>> dependency:tree does work, at least for a sample eclipse-plugin project. I >>> can look at copy-dependencies goals if you want (I'd need a sample project,
 >>> though).
 >>
>> It works for immediate (OSGi) dependencies, but not transitively. BTW, the >> (OSGi) dependencies are reported to be of scope 'system' by dependency:tree.
 >
 > Yes, you're right, I forgot that OSGi dependency resolution is not
 > transitive. FYI, dependencies injected by tycho have system scope for
> bundles/features that come from the target platform and provided scope for
 > inter-module dependencies specifically to suppress maven transitive
 > dependency resolution.

Is the plan to eventually have the maven-dependency-plugin also follow OSGi
dependencies transitively?

I guess in the meantime I write my own resolver which sweeps artifacts
following all dependencies.

-Max


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to