Skip to main content
Skip table of contents

Building SignServer with Maven

Maven is used for building the sources.

Insecure HTTP

Prior to Maven version 3.2.3, plug-ins and artifacts were fetched from the Maven Central Repository over insecure HTTP.

Make sure to edit your ~/.m2/settings.xml to override the URL of the Maven Central Repository.

For Community users, refer to doc/sample-maven-settings-community.xml as an example.

For Keyfactor developers please use doc/sample-maven-settings-primekey.xml which will use an internal repository.

Building SignServer

To build SignServer from the command line using Maven, execute:

CODE
mvn install

This will build all of the SignServer modules, putting the artifacts under ./lib and the SignServer/DeployTools module descriptors in ./mods-available.

Gathering Dependencies for later Offline Build

It's possible to let Maven gather all of the dependencies to allow performing an offline build at a later stage.

To gather all of the dependencies, execute:

CODE
mvn -Dmaven.repo.local=/tmp/signserver-repo/ dependency:go-offline install -DskipTests=true

To then perform a build completely offline, execute:

CODE
mvn -Dmaven.repo.local=/tmp/signserver-repo/ -o install



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.