|
Page Edited :
SM :
2.2. Beginner - Creating our first SU module
2.2. Beginner - Creating our first SU module has been edited by Gert Vanthienen (Jan 21, 2008). Content:Now, we are going to create our first SU module in our project. Using a Maven archetype to create the service unit projectServiceMix provides several Maven archetypes to help you create your projects more rapidly and reliably. We start off by using the servicemix-service-unit archetype, which is used for creating a service unit project. The groupId for this archetype is org.apache.servicemix.tooling. From our tutorial project directory, where we already have the parent pom.xml, we run this command to create a service unit project named tutorial-file-su: mvn archetype:create -DarchetypeArtifactId=servicemix-service-unit -DarchetypeGroupId=org.apache.servicemix.tooling -DartifactId=tutorial-file-su
Because we started Maven's archetype:create from the directory containing our parent pom.xml, Maven has also:
Now, we will have to configure the service unit to provide the services we want. Further reading
|
Unsubscribe or edit your notifications preferences
