Creating the http handler SU
...
Now, we are going to excerptINLINE
create the http handler bean SU
...
Using a Maven archetype to create the service unit project
...
From our tutorial project directory, where we already have the parent pom.xml, we run this command to create a service unit project named http-handler-su
:
...
Maven executes the archetype and reports BUILD SUCCESSFUL
when it's done.
...
What is being generated?
First of all, the archetype creates the project directory, containing:
...
Because we started Maven's archetype:create from the directory containing our parent pom.xml, Maven has also added a module to the parent pom.xml
...
xml
...
Now, we will have to configure the service unit to provide the services we want.
...
- Maven archetypes contains a list of Maven archetypes available with ServiceMix
Proceed to the next step
...
...