[INFO] The service unit my-jms-consumer-su does not have a dependency which is packaged as a jbi-component or a project property 'componentName'
If you see the above error when trying to build your servicemix service assembly, the trick is to look at the pom.xml for the component with the problem. In this case the ServiceMix SU is'my-jms-consumer-su'.
In order to fix the Service Assembly build error I added the componentName to the SU's pom.xml below properties section, so1 2 3 |
<properties> <servicemix-version>3.3.1.0-fuse</servicemix-version> </properties> |
1 2 3 4 |
<properties> <servicemix-version>3.3.1.0-fuse</servicemix-version> <componentName>servicemix-jms</componentName> </properties> |
This problem only tends to occur when you have multiple su's within the assembly that depend on the same servicemix component (e.g. servicemix-jms). Make sure you add the componentName to all of the Service Unit poms.xml's that use that component.