formatter-maven-plugin and impsort-maven-plugin both currently use the target folder by default for caching. Move this to use the m2 location so that it gets cached on github actions as well as re-used for developers thus ensuring those run as fast as possible.