Structr 2.1 Build Configurations
The goal of the new build configuration is to provide a fast, minimal build for developers that reduces roundtrip time for changes but includes the basic modules.
Minimal Developer Build
mvn clean install
- no javadocs
- no sources
- no tests
- fast
Build Profiles
The following build profiles can be specified to select the desired build scope. The individual profiles can be combined, see examples below.
- with-tests
- with-sources
- with-javadocs
Examples
Skip tests on the minimal build
mvn clean install -Dmaven.test.skip
Run tests on the build
mvn clean install
Run tests on the full build
mvn clean install -Pwith-javadocs,with-sources