First of all, index for the Maven Central repository is installed with optional "Nexus index for Central Maven repository" feature that you can chose not to install or even remove Central index from "Maven Indexes" view after the installation.

That index is registered using an extension point, which you can also use to declare your own repositories (those would need to be indexed with Nexus Indexer CLI). See documentation on the wiki at http://docs.codehaus.org/display/M2ECLIPSE/Nexus+indexer#Nexusindexer-extensions

 So, you basically have two options:

- create your own plugin that will declare above extension point for your proprietary repositories and install it with or after m2eclipse is installed - got to "Maven Indexes" view and manually add/remove repositories you want to be there

It also wouldn't be difficult to add some kind of import/export for index configuration from "Maven Indexes" view. If anyone interested to work on that, please let me know.

 regards,
 Eugene


vanguard wrote:
I had a similar idea but the only configuration files I found were from the
maven command line client.  Where is settings.xml for the m2e plugin?

BTW, thanks for the replies. I appreciate it.

Baptiste MATHUS-2 wrote:
2008/3/22, Baptiste MATHUS <[EMAIL PROTECTED]>:
2008/3/21, vanguard <[EMAIL PROTECTED]>:

How can I configure the m2eclipse plugin to point to our internal maven
repository instead of the default maven remote repository so that I can
remove your list of built in project starting points and replace them
with
our own?
I'm not sure I get you thoroughly. What do you mean by "remove your list
of built in starting points and replace them with our own?"  ???
But, well, what you ask does not seem to be specific to m2eclipse at all.
It seems more "pure" maven related.
If you already installed some internal repository (using archiva, e.g.),
you then just have to configure the settings.xml file, so that maven go
through this instead.

Oops, Forgot the link:
http://maven.apache.org/archiva/guides/getting-started/maven-configuration.html

Cheers.





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

   http://xircles.codehaus.org/manage_email


Reply via email to