Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
tames
Post subject: Want to change local repository - Windows  PostPosted: Nov 26, 2008 - 08:40 PM
Veteran Member
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
 
 View user's profile Send private message  
Reply with quote Back to top
tames
Post subject:   PostPosted: Nov 28, 2008 - 03:57 PM
Veteran Member
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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits