...
If you quickly want to get up and running with Apache ServiceMix the best way is to use this goal. As an extension of the deployProject goal is works in much the same way, the difference is that this goal downloads and starts a copy of Apache ServiceMix within Maven so you don't need to have a version installed, this can be very useful if you are working on trying out functionality and want to simply test your projects.
Working with ServiceMix Embedded Configurations
You can also work run your Servicemix embedded configurations using the jbi:embeddedServicemix goal. This will look by default in the src/main/resources/ directory of your project for a servicemix.xml and use that to boot ServiceMix. If you want to try this feature out you can also use the servicemix-embeddded-simple archetype to create a simple project with the files in place.
Code Block |
---|
mvn archetype:create \
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-embedded-simple \
-DarchetypeVersion=1.0-incubating-SNAPSHOT \
-DgroupId=org.apache.servicemix.samples.embedded \
-DartifactId=servicemix-embedded-example
|
Then simply go into the servicemix-embedded-example directory created by the archetype and run
Code Block |
---|
mvn jbi:embeddedServicemix
|
Full Plugin Information
Include Page | ||||
---|---|---|---|---|
|
...