setLocalRepositoryBasedir should also clear the cache, so already resolved artifacts can be re-resolved for the new local repository (in case of invoker's install extra artifacts)