Hi,

another (simpler) workaround : you can try opening the Maven Indexes
view, right click on your local repository and then update index.

regards,

Fred Bricon


On Wed, Nov 19, 2008 at 2:33 PM,  <[EMAIL PROTECTED]> wrote:
> Yes, I also found that the reindex loacl repo button in the preferences
> doesn't work. Thanks for the suggestion for mirroring the site locally. I'll
> give that a shot. At least I'll have a file that I can gz up and copy to my
> non-inet machine.
>
> Anyone else have any suggestions for indexing?
>
>
>
> On Tue, Nov 18, 2008 at 10:45 AM, Igor Fedorenko <[EMAIL PROTECTED]>
> wrote:
>>
>> [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
>>
>>
>
>



-- 
GMail rox!

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

    http://xircles.codehaus.org/manage_email


Reply via email to