On this page, we are going to create a service assembly .
Using a Maven archetype to create the service assembly
ServiceMix provides Maven archetype to help you create your service assembly.(SA)
From SMX_HOME/bin directory, we run this command to create a service unit project named :
in MS Windows:
smx-arch sa
in GNU\Linux:
./smx-arch sa
Maven executes the archetype and reports BUILD SUCCESSFUL when it's done. (For more information run smx-arch help)
c:\java\apache-servicemix-3.2.1\bin>smx-arch sa [INFO] Scanning for projects... ... [INFO] OldArchetype created in dir: c:\java\apache-servicemix-3.2.1\bin\my-sa [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Wed Jul 30 11:08:06 CEST 2008 [INFO] Final Memory: 8M/14M [INFO] ------------------------------------------------------------------------
A new service assembly project is generated in the my-sa directory.
Editing pom.xml
Second section
Now, we will just tell the user what to expect from the next tutorial page
Things to remember
- just repeat two or three key points to remember from this step in the tutorial
Further reading
- add useful links to additional information on the website here
- ...