This page explains how to build Bonita BPM Community Edition from the source files.
You can download the sources of the Bonita BPM components from the Bonitasoft source repository. The source files are stored on GitHub. You are recommended to take a tagged version, so that you have a coherent set of sources.