reordered config & scripts [skip ci]
try to speed up builds by caching Maven repository