Okay, I somehow got the plugin to use the local repository I specified in the settings.xml.

Initially I tried that but it didn't work. For some reason, it does work now.

Eugene, what is this "config.xml from Eclipse preferences" you speak of? Please explain more.

Thanks,
Dan

Eugene Kuleshov wrote:
Danny Hurlburt wrote:
Long time ago when I was first evaluating Maven2 and m2eclipse plugin and I remember being able to set the local repository by going to Window > Preferences... > Maven2 > Browse... and setting the local repository. I don't remember what version of the plugin that was. It was something before 0.0.10. Also in the current flash demo, you can see the ability to set the Local Repository Folder. The demo demonstrates m2eclipse plugin 0.0.4.

Now in the present day I am finally using Maven for a project and my current version of Eclipse is 3.2.2 and I am using the m2eclipse plugin version 0.0.10 (older versions don't seem to work with my current version of Eclipse). I don't see the ability anymore in the Maven2 preferences to choose the local repository. It seems to default to C:\Users\Me\.m2\repository regardless of what I specify in the global settings.xml or user settings.xml.

I am also using Continuum and it seems to want to create its own local repository on my system at C:\.m2\repository.

I would ultimately like to have only one local repository on my system. Any ideas on how I can do this? Maybe 0.0.11 will reintroduce this feature.
No plans to allow to specify repository in Eclipse settings, because we want to have the same settings between command line Maven tool and the IDE.

So, in 0.0.11 location of the local repository is taken from the settings.xml, but you can specify an alternative location of config.xml from the Eclipse preferences.

 regards,
 Eugene



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email






---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to