Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Tip
titleServiceMix Archetypes

Instead of creating the aforementioned structures manually, you can also use Maven archetypes that create a Maven project for you. ServiceMix provides archetypes for many different purposes, such as for creation of JBI components, service assemblies or service units for particular ServiceMix components. You can take a look at the current list of available archetypes at http://people.apache.org/maven-snapshot-repository/org/apache/servicemix/tooling/Image Removed or in the archetypes directory in a ServiceMix source distribution.

You can utilize an archetype by issueing the following command:

Code Block
mvn archetype:create \
    -DarchetypeGroupId=org.apache.servicemix.tooling \
    -DarchetypeArtifactId=servicemix-archetype-name \
    -DarchetypeVersion=SM-ARCHETYPE-VERSION \
    -DgroupId=org.apache.servicemix.samples.embedded \
    -DartifactId=servicemix-embedded-example

You need to replace servicemix-archetype-name by the name of the archetype you want to utilize and SM-ARCHETYPE-VERSION by the ServiceMix version you are using. (It goes without saying that you should also replace the groupId and artifactId parameters.)

...

Full Plugin Information

Include Page
SM:Full DescriptionSM:
Full Description

Maven 1.x Support

...