Many Bonita Open Solution users find it useful to extend BOS to integrate it with other applications. When doing this, you can use Maven to manage project dependencies. BonitaSoft belongs to OW2, which is an open source software consortium for middleware providers. At each release, we provide updated Maven artifacts in the OW2 repository. This simplifies the development of an application that uses BOS.
Here’s a quick “How-To” for using Maven to handle BOS dependencies
Step 1 : Create a new Maven project in your favorite IDE :)
Step 2 : Configure your pom.xml
Double click on your pom.xml file.- Add the OW2 Maven repository : Go into the pom.xml tab and add the following code :
- You can now add "Bonita" to your dependencies, either by using the Wizard...
Go to Dependencies Tab > Click on Add... > Search for "bonita-client" >Select "org.ow2.bonita bonita-client" entry > Click OK
(This automatically configures your pom.xml, adding the latest available version of the bonita-client artifact to your project dependencies.)
You can now easily leverage the BOS API in your application, letting Maven resolve the dependencies.