My service assembly build doesn't create a .jar file containing .zip files of my service units.

Solution Verified - Updated -

Environment

  • Fuse ESB 3.x

Issue

My ServiceMix 3.x JBI service assembly build doesn't create a .jar file containing .zip files of my service units.

Resolution

Make sure to have the jbi-maven-plugin specified on your project's pom.xml:

<build>
  <plugins>
    <plugin>
      <groupId>org.apache.servicemix.tooling</groupId>
      <artifactId>jbi-maven-plugin</artifactId>
      <extensions>true</extensions>
    </plugin>
  </plugins>
</build>

It may also be necessary to include the FUSE maven repositories as well so you pick up the FUSE version of the JBI tooling.

Root Cause

The top-level POM of the project does not contain the jbi-maven-plugin.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments