[EMAIL PROTECTED] wrote:
I work in a closed network environment (no internet access ) and run
maven in offline mode. Whenever, I want to add new artifacts to my repo,
I download and install them on a machine that has inet access and then
copy them over to my non-inet machine. The problem that I'm experiencing
is that the M2 plugin doesn't pick up the new items (the indexer doesn't
seem to run). Is there a way to re-index the local repo in offline mode
so that the new resources are picked up?
It is possible to update maven local repository index by going to
Window->Preferences->Maven->Installations and hitting "Reindex Local
Repository". Unfortunately, due to a bug in m2e [1] this does not seem
to work.
Also, since I work in a closed environment, any updates to Eclipse
involve updating an external copy of Eclipse and then copying over the
plugins and features to the non-inet machine. Currently, the m2 plugin
is distributed only via the update site. Is there an archive site (that
I can't find) or can one be created for us poor unfortunate souls who
can't connect with the rest of the world.
As far as I know, m2e does not provide packaged update site. As a
workaround, you can use eclipse update manager [2] to mirror m2e update
site locally.
Hope this helps
[1] http://jira.codehaus.org/browse/MNGECLIPSE-1003
[2]
http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/reference/misc/update_standalone.html
--
Regards,
Igor
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email