Debian packages and RPMs can be built from this project using Make, for example:
make deb
make rpm
Since Reaper v4, Java 11 is required to compile and run it. More recent versions of the JDK should also be able to run the compiled version of Reaper. Node JS v10 is still required to build the UI as part of the maven build, with npm v9.
To build use the following command:
mvn clean package
See the Docker section for more details.
To simplify the build toolchain it’s possible to build everything using Docker itself. This is the process used to build the release binary artifacts from jar files to debian packages.
Building Reaper packages requires quite a few dependencies, especially when making changes to the web interface code. In an effort to simplify the build process, Dockerfiles have been created that implement the build actions required to package Reaper.
To build the JAR and other packages which are then placed in the src/packages directory run the following commands:
cd src/packaging/docker-build
docker-compose build
docker-compose run build