...
- jar of the bundle to deploy on the server
To create the simple service project, execute the following command in your Unix/Dos console.
Code Block |
---|
mvn archetype:create -DarchetypeGroupId=org.springframework.osgi -DarchetypeArtifactId=spring-osgi-bundle-archetype -DarchetypeVersion=1.2.0-m2 -DgroupId=demo -DartifactId=demo.service-bundle -Dversion=0.1 |
Remarks :
- The archetype version depends on the version of Spring Dynamic Module used and must be adapted in consequence,
- According to your project, you can change the artifactId to point to com.mycompany.application.service, and groupId com.mycompany.application
To create the Camel project, execute the following command
Code Block |
---|
mvn archetype:create -DarchetypeGroupId=org.springframework.osgi -DarchetypeArtifactId=spring-osgi-bundle-archetype -DarchetypeVersion=1.2.0-m2 -DgroupId=demo -DartifactId=demo.camel-bundle -Dversion=0.1 |
Two folders are created with the following name :
- demo.service-bundle
- demo.camel-bundle
Next, you import these projects into your favorite workspace of Eclipse.
#Resources
Attachments patterns .*part-one.zip