Build Structr from the Source Code


This article assumes that you already installed all the prerequisites. To build Structr from the sources, you will need:

  • Git
  • Maven
  • Java 8 (JDK)

Build Structr on a Linux Machine

git clone
cd structr
mvn clean install -DskipTests
cd structr-ui
mvn validate exec:exec

Other Operating Systems

The build process should be roughly the same on all operating systems.

Optimizing build time

In order to save time the above command (mvn clean install -DskipTests) can be replaced by this command which skips a lot of the steps.

mvn clean install -DskipTests -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dassembly.skipAssembly=true -DskipDeb=true -Denforcer.skip=true


About this article
Last change 2017-02-24
Topics Structr 2.0