Build Vespa

To build all Vespa components, use Docker and CentOS as described at github.com/vespa-engine/vespa/tree/master/docker. This is done in the quick-start, and provides a runtime environment in the Docker instance.

To develop with Vespa, build the Vespa Java artifacts - in vespa. This has been tested with Java 8:

$ ./bootstrap.sh java && mvn install
or
$ docker run -v "$HOME/.m2":/root/.m2 -v `pwd`:/wd -w /wd \
  docker.ouroath.com:4443/vespa/build-base:latest \
  bash -c "./bootstrap.sh java && mvn install"

Once built, Vespa artifacts are ready to be used and one can build a Vespa application using the bundle plugin.