The js7 repository holds the source code to build the JS7 Controller and JS7 Agent.
The JS7 Controller and Agent are implemented with Scala and have to be build with sbt (Scala Build Tool). SOS uses sbt version 1.1.5 with sbt_script version 1.4.2.
Navigate to your desired destination folder and clone the repository from GitHub:
Checkout Tagged Version
Checkout Latest Tagged Version
Determine the latest tagged version and store it to a local variable.
Checkout the latest version using the just stored variable to a local branch "latest".
Navigate to the root of the cloned repository that you checked out.
The project will be locally build. Resulting binaries will not be published to any repository.
Build With Tests
To build the project with all tests running use compile-all instead.
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).
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.
Set repository credentials and repository URI for the build to an environment variable with the name
Build the project.