This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am using apache-maven-2.2.1. I tried changing the local repository settings(by changing the <localRepository>D:/maven_repo</localRepository>
) in settings.xml file under D:\JavaProjects\apache-maven-2.2.1\conf dir from C:\Users\deepthi\.m2 to d:\maven_repo directory.
But everytime all the dependencies are downloaded to C:\Users\deepthi\.m2 only. How can i override the default behaviour and download all my dependencies to d:\maven_repo
Typically there are two settings files, one in the core install of Maven itself and the other one in your .m2 directory, I would edit the one in the .m2 directory (or create one there with the new directory that you want to point to).