Only cache maven deps in before-ci.