LibraryToggle FramesPrintFeedback

As shown in Example 7.3, you specify a value of jbi-component for the project's packaging element, which informs the Fuse ESB Maven tooling that the project is for a JBI component.


The plugin element responsible for packaging the JBI component is shown in Example 7.4. The groupId element, the artifactId element, the version element, and the extensions element are common to all instances of the Fuse ESB Maven plug-in. If you use the Maven archetypes to generate the project, you should not have to change them.


The configuration element, along with its children, provides the Fuse ESB tooling with the metadata necessary to construct the jbi.xml file required by the component.

Once the project is properly configured, you can build the JBI component by using the mvn install command. The Fuse ESB Maven tooling will generate a standard jar containing both the component and an installable JBI package for the component.

Comments powered by Disqus