Fixes memory test configuration

Because the m2 repos are no more used in this part of the build, the
version for the needed Scala jars are no more pre-set.

The validation build doesn't test this part of the configuration, but it works on my computer :smile:.