Creating the http handler SU
Wiki Markup |
---|
{scrollbar} |
Now, we are going to
Excerpt |
---|
create the http handler bean SU |
Using a Maven archetype to create the service unit project
ServiceMix provides several Maven archetypes to help you create your projects more rapidly and reliably.
We start off by using the servicemix-bean-service-unit
archetype, which is used for creating a bean service unit project. The groupId for this archetype is org.apache.servicemix.tooling
.
...
No Format |
---|
[INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Simple HTTP Upload example [INFO] Http Uploader :: HTTP Consumer SU [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ---------------------------------------------------------------------------- [INFO] Building Simple HTTP Upload example [INFO] task-segment: [archetype:create] (aggregator-style) [INFO] ---------------------------------------------------------------------------- ... [INFO] ********************* End of debug info from resources from generated POM *********************** [INFO] Archetype created in dir: /home/lhe/example/http-handler-su [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Wed Nov 28 13:21:37 CET 2007 [INFO] Final Memory: 8M/78M [INFO] ------------------------------------------------------------------------ |
What is being generated?
First of all, the archetype creates the project directory, containing:
...
Now, we will have to configure the service unit to provide the services we want.
Further reading
- Maven archetypes contains a list of Maven archetypes available with ServiceMix
Proceed to the next step
Wiki Markup |
---|
{scrollbar} |