Just a quick note for travelers passing by. If you use Maven 3.9.0 or higher, there is the baked-in option of splitting repositories. See [here for info](https://maven.apache.org/resolver/local-repository.html) and the [`aether.enhancedLocalRepository.split` configuration option](https://maven.apache.org/resolver/configuration.html).