Move to container-based infrastructure and cache maven artifacts

Fixes #2313.