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:
- adding a dependency to the SU's pom.xml, e.g.
- adding a property called
componentNameto the SU's pom.xml, e.g.
You can avoid the problem by using the second alternative when specifying the JBI component name.