Add update snapshots
Before running the fossa scans, we use mvn install
to make sure the .m2 repository is up to date with all dependencies. During this process, we should update snapshots, because we are still using services that depend on SNAPSHOT libraries.
Without this, the cache from the runner would be used, which isn't always up to date.
Note: the compile-and-unit-test
job already does this.
Edited by David Diederich