facebook

Want to change local repository – Windows

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #291413 Reply

    tames
    Member

    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

    #291436 Reply

    tames
    Member

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Want to change local repository – Windows

You must be logged in to post in the forum log in