Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ mkdir hello-world-smx
$ cd hello-world-smx

2) Use the servicemix-servicebinding-enginecomponent Maven archetype to generate a Maven project for the component.

...

Tip

The value of the archetypeVersion parameter in the command above (3.2-incubating-SNAPSHOT) may need to be updated to the current ServiceMix version in order for the command to work correctly. The latest version can always be found in the top level ServiceMix POM in the <version> element.

The output from executing the archetype:create goal is shown below:

...

Before we create any custom functionality, let's first examine some of the items generated by the servicemix-servicebinding-engine component Maven archetype in this simple component we're developing. These classes extend class from either the JBI spec APIs or from the servicemix-common package.

  • pom.xml - This is the Maven POM] file. This XML file contains all the metadata related to the project so Maven can carry out its functionality.

...