Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1.1 KB

BUILDING.md

File metadata and controls

33 lines (29 loc) · 1.1 KB

To build pdfChain, Maven must be installed.

Running install without a profile will generate the pdfChain jars:

$ mvn clean install \
    -Dmaven.test.skip=true \
    -Dmaven.javadoc.failOnError=false \
    > >(tee mvn.log) 2> >(tee mvn-error.log >&2)

To run the tests, a local blockchain node must be installed. See Prerequisites.

$ mvn clean install \
    -Dmaven.test.failure.ignore=false \
    -Dmaven.javadoc.failOnError=false \
    > >(tee mvn.log) 2> >(tee mvn-error.log >&2)

You can use the supplied Vagrantfile to get a Vagrant VM (Ubuntu 14.04 LTS - Trusty Tahr, with VirtualBox) with all the required software installed.

$ vagrant box add ubuntu/trusty64
$ vagrant up
$ vagrant ssh -- \
    'cd /vagrant ; mvn clean install -Dmaven.test.skip=true -Dmaven.javadoc.failOnError=false' \
    > >(tee mvn.log) 2> >(tee mvn-error.log >&2)