...
The content of <version> may have to be changed from 1.0-incubating-SNAPSHOT to your used version (e.g. 3.0-incubating).
Tip | ||
---|---|---|
| ||
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/ or in the You can utilize an archetype by issueing the following command:
You need to replace |
Project Types
Once this plugin has been added to your POM you can start using the capabilities. In order to understand all the things you can do we have broken downs its functionality by the type of artifact you wish to create. JBI covers the creation of four different types of artifact these are:
...
Info | ||
---|---|---|
| ||
If you are working with the jbi:projectDeploy you should not note that you may want to disable dependency deployment, if you are deploying to a server which has other components sharing these dependencies they you can get problems while trying to undeploy and redeploy them. Look for the plugin section for the jbi-maven-plugin and under configuration add a new element called deployDependencies with a value of false, this is usually in your service assembly's pom.xml or your component's. This setting will stop the plugin for undeploying and redeploying dependencies. |
...
Full Plugin Information
Include Page | ||||
---|---|---|---|---|
|
Maven 1.x Support
...