 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: Want to change local repository - Windows
Posted: Nov 26, 2008 - 08:40 PM
|
|
Veteran Member


Joined: Jul 20, 2005
Posts: 14
|
|
The local repository defaults to ...\Documents and Settings\... I want the local repository to be in a different location. When I go to the Preferences and look at the Maven4MyEclipse properties, the local repository is grayed out. How can I change this to point to a different location?
I want to redownload the initial repository again to the new location. I am using MyEclipse 7.0 M2 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 28, 2008 - 03:57 PM
|
|
Veteran Member


Joined: Jul 20, 2005
Posts: 14
|
|
Found this myself. Sorry to bother you. This is part of the Maven install not the Maven4MyEclipse. I am new to Maven.
In case any other newbies need this, I had to put a
<settings>
<localRepository> --path to local repository-- </localRepository>
</settings>
entry in my settings.xml file. You can place this in your C:\Documents and Settings\<user>\.m2\ directory, or in the \conf directory where Maven is installed.
I then looked at my Preferences for Maven4MyEcliplse, and the path was what I wanted it to be. |
|
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |