Build from source

Contents:

Prerequisites

Install Java JDK

  • Linux (Debian, Ubuntu):
sudo apt-get install openjdk-8-jdk

Install LibSodium

  • Linux: follow this instructions (anglais).

    • After install, check that the file libsodium.so exists inside directory /usr/local/lib or /opt/local/lib.

    • If not exists, but at another location, please create a symbolic link under directory /usr/local/lib or /opt/local/lib.

  • Windows: Nothing to do (the lib sodium.dll is already include in the included library duniter4j);

Installer Apache Maven 3

Install Apache Maven 3:

  • Linux (Debian, Ubuntu):
    sudo apt-get install maven

Compilation

Get source and compile

  • Get the source code, then compile using Maven:
git clone git@git.duniter.org:clients/cesium-grp/cesium-plus-pod.git
cd cesium-plus-pod
git submodule init
git submodule sync
git submodule update

mvn install -DskipTests
  • Then, package all binaries:
mvn install -DskipTests -DperformRelease

Build a new release

Deploy binaries

You will need to have access to project site repository.

To deploy binaries:

mvn release:prepare
mvn release:perform

Deploy the web site

To deploy the web site:

mvn site-deploy -DperformRelease