On install, however, I get the following error which terminates the installation process:
session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> [R]com.codetrails.licensing.ctrlflow.starter 1.5.1.v20150829-1005-b52, action=org.eclipse.equinox.internal.p2.engine.MissingAction).
java.lang.IllegalArgumentException: No action found for: com.codetrails.events.install.rcp.action.
After that error, I checked that the bundle com.codetrails.events.install.rcp is actually installed via "ss events". It is.
Finally, when running the install process a second time, it works as expected. It looks like something goes wrong on first enabled of the install bundle.
Do you have any idea how to get more information?
I figured out that OSGI failed to resolve a package import to com.google.commons.base and thus apparently did not enable the one of the dependencies of the install bundle.
After changing the package imports to require-bundles it works as expected. However, I fear I'll run into class cast exceptions, linkage errors or even get exceptions during the installation when users install these bundles in different environments. Do you have any suggestions what might make osgi fail to resolve the com.google.common.base package ?