Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Navigate to the root of the cloned repository that you checked out.

Simple Compile

The project will be locally build. Resulting binaries will not be published to any repository.

Code Block
languagebash
./sbt-batch clean-all compile

Build With Tests

To build the project with all tests running use compile-all instead.

Code Block
languagebash
./sbt-batch clean-all compile-all

Build and Publish to a local M2 Repository

This is the recommended way to build JS7 as the resulting binaries are automatically published to a local /.m2 repository and are available for further builds (e.g. sos-components).

Code Block
languagebash
./sbt-batch clean-all compile publishM2

Build and Publish to a Binary Repository

The credentials to deploy to a binary repository have to be available from a credentials file, see https://www.scala-sbt.org/1.x/docs/Publishing.html#Credentials.

...