Building

brick-control-lab uses Maven Central for distribution of pre-built jars. See Usage to use the pre-built jars. Building from source is only necessary for developing brick-control-lab itself.

Prerequisites to build from source

  • Java 8
  • Maven 3.5.3 or newer

Clone the source repository

$ git clone git@github.com:chabala/brick-control-lab.git

See Source Code Management for more details regarding this.

Building

Run mvn clean verify to clean, compile, test, and produce the artifact.

Releasing

Run mvn release:clean release:prepare to stage the release. This includes tagging the repo, building the site, and signing the artifacts.

Then run mvn release:perform to finalize the release with Maven Central.