gitlab-ci: use maven artefacts cache only for build stages

4 jobs for main in 3 minutes and 35 seconds (queued for 7 seconds)