Contributing to other Eclipse e4 fragment

Contributions from one e4 fragment to another will be merged at some point in the application lifecycle. The order of merging is dependent on the plugin dependencies (not package dependencies) of the plugins.

If no depencency is declared then the merging may not be possible and a message with

  Nothing to merge ...

may occur in the log.

Declaring a plugin/bundle dependency resolves this problem.

A package dependency is not taken into account for the order of the merging of fragments. It needs to be a bundle dependency.