svn co https://svn.apache.org/repos/asf/incubator/odf/trunk odf-toolkit
For further information see the Apache Source Code Repository page.
sudo apt-get install openjdk-8-jdk sudo apt-get install maven
Note: The previous instructions has been tested with an Ubuntu 16.04 installation. Other distros and versions should work fine, but might require some slight modifications.
cd odf-toolkit mvn clean install -Ppedantic
Note: The build option pedantic is triggering an Apache tool doing various checks as for unlicensed files.