Find the following “localRepository” pattern, and define your new Maven local repository inside the “<localRepository>” element like this :
<settings> <!-- localRepository | The path to the local repository maven will use to store artifacts. | | Default: ~/.m2/repository <localRepository>/path/to/local/repo</localRepository> --> <localRepository>D:/maven_repo</localRepository>