How to build Bonita BPM from sources

ttoine's picture
Blog Categories: 

Dear Community,

I know that even though it is very easy now to add a language to Bonita BPM Portal, it is still not quite as easy in Bonita BPM Studio. As I am working on that point, I first needed create a script to build Bonita BPM from source files. As you may already know, sources of Bonita BPM Community Edition are available on GitHub.

Browse sources

Browsing repository by repository, you can find Bonita Engine, Portal and Studio, as well as all connector sources. You can also use Git Tags in GitHub repositories to find different versions of the code we use to build Bonitasoft BPM binaries. You will also need the Target Sources: this is an archive of dependencies to ensure that you will have the same versions as the Bonitasoft R&D team to build our software.


Using these sources and the doc page about building Bonita 6.1.0, it took me some time, but I succeded in writing a script for Linux that will get all the dependencies from maven, sources from GitHub, and more. And of course, it will build Bonita BPM Engine, Portal and Studio for you. Note that the script builds the "All in one" version of Bonita BPM 6.2.1, which works on all systems with Java installed. This build does not provides specific installers.


I am pleased to share the result of my work with you.

The script is already available as a Project on Bonita Community website, and of course, I created a repository on our Community Github so it is easy for everyone to fork it if necessary. At the moment, the version available is for 6.2.1, so I created a 6.2.1 Tag for it. I will do my best to maintain this script when new versions are released.

Our code is open, so feel free to:

  • fork
  • test
  • provide pull requests
  • and any feedback

Have fun with Bonita!



Submitted by vivisima on Thu, 03/06/2014 - 21:47

Hello Antoine;

The script in github was a great help :) I have made just one change so studio platform module can be installed and added to the extracted mirror path the "repository" folder as below:

mvn clean install -Pmirrored -Dp2MirrorUrl=file://$DIR/6.1/repository/

Now I'm trying to change the bonita installation database engine to MySQL but didn't make too much progress... Do you know by chance how to do it for 6.1+ versions? I've found help for 5.x and 6.0 versions only.

Submitted by vivisima on Fri, 03/07/2014 - 15:46
Submitted by Andrii.Stesin_2 on Thu, 09/11/2014 - 12:40

Is build of 6.3.5 now supported? Thanks!

Submitted by phil.allred on Tue, 08/25/2015 - 21:10

This badly needs to be updated. When will it reflect the 7.0 code?

Submitted by ttoine on Wed, 08/26/2015 - 15:07

hello, v7 is fresh and with the summer vacation, we didn't find time to update the script. It will come in september.

Submitted by Riet1939 on Wed, 03/09/2016 - 11:29

Please Bonitasoft, could you take some time to keep this doc and scripts up-to-date with last releases ?
I'm trying with v7.2 and it doesn't build at all...
Thanks & regards