migrate to docker based travis build and adds maven repository cache.