Problem statement: How do you configure your own path for maven build tool in your local repository ?
Step-3: open the extracted folder and go to-> maven_home\conf\settings.xml file
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
<localRepository>/path/to/local/repo/</localRepository> - ->
Step-4: <localRepository>change with your own path</localRepository>
e.g.<localRepository>D:/ishaan/tools/.m2/repository</localRepository>
Step: enjoy !!
Step-1: download binary zip archive for apache-maven-3.x.x (https://maven.apache.org/download.cgi)
Step-2: extract in your own path other than C driveStep-3: open the extracted folder and go to-> maven_home\conf\settings.xml file
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
<localRepository>/path/to/local/repo/</localRepository> - ->
Step-4: <localRepository>change with your own path</localRepository>
e.g.<localRepository>D:/ishaan/tools/.m2/repository</localRepository>
Step: enjoy !!
No comments:
Post a Comment