This LifecycleExecutionException (The service unit xyz does not have a dependency which is packaged as a jbi-component or a project property 'componentName') sometimes occurs when you are packaging multiple SU that target the same component.

There are two ways to specify the JBI component that is targeted by a SU:

  1. adding a dependency to the SU's pom.xml, e.g.
  2. adding a property called componentName to the SU's pom.xml, e.g.

You can avoid the problem by using the second alternative when specifying the JBI component name.

  • No labels