To build iText 7 Community, Maven must be installed.
Running install without a profile will generate the iText 7 Community jars:
$ mvn clean install \
-Dmaven.test.skip=true \
> >(tee mvn.log) 2> >(tee mvn-error.log >&2)
To run the tests, Ghostscript and Imagemagick must be installed.
$ mvn clean install \
-Dmaven.test.failure.ignore=false \
-DgsExec=$(which gs) \
-DcompareExec=$(which compare) \
> >(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' \
> >(tee mvn.log) 2> >(tee mvn-error.log >&2)