...
Section |
---|
Column |
---|
In this example, we will only use two components: Thus we will have to create two service units and a service assembly. First, we need to create the root maven project which will hold our SUs and SA. Launch the following commands: Code Block |
---|
mkdir citytime
cd citytime
|
And create a file named pom.xml with the following content: Code Block |
---|
|
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.servicemix.samples</groupId>
<artifactId>citytime</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
</project>
|
|
Column |
---|
Gliffy Diagram |
---|
size | M |
---|
name | citytime-sa |
---|
page | SM:Orchestration with JSR181 | align | left |
---|
space | SM |
---|
|
|
|
Then, we can use maven archetypes to create the two SUs and the SA. In the citytime
directory, launch the following commands:
...