Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Fwd: Re: Unable to reload repository

Yes, it is safe to remove files from .m2/repository/.cache/m2e and
.metadata/.plugins/org.eclipse.m2e.core/nexus, just make sure m2e is not
running. Indexes will be redownloaded and reprocessed when you restart m2e.

--
Regards,
Igor

On 12-02-28 10:19 AM, Steve Cohen wrote:
OK, changing all IDs in my settings.xml file from "nexus" to "nexus2"
while leaving the URLs the same of course, caused the repository view to
be correctly regenerated in Eclipse and all is good. Still, I would like
to know what I can now safely delete to remove all the corruption from
the data I am storing. The reindexing that took place updated all
folders under .metadata/.plugins/org.eclipse.m2e.core/nexus, so I
presume that the update operation is still doing something to the old
corrupt folders and wasting cycles.

Also, I would like to go back to using the standard name "nexus" rather
than "nexus2" without getting all my corrupt data back.

What is the best way to clean out the repository view and start fresh?


On 02/28/2012 08:50 AM, Steve Cohen wrote:
ok, in the attached screenshot it seems that something is missing from
the .metadata directory for the repository I am trying to connect to.
This may explain why this repository does not show up for me in Eclipse.
Nonetheless, it still works in Maven itself. When m2e delegates to Maven
to do the actual build it finds the archives stored in the Nexus
repository. The problem does not lie with the repository itself as other
users are able to see the contents of the repository in Eclipse.

So my question now becomes, how may I most efficiently delete from
M2E/Eclipse any knowledge that there was ever such a repository attached
to this workspace, and then re-add it freshly so that hopefully it would
load properly into Eclipse this time?

-------- Original Message --------
Subject: Re: [m2e-users] Unable to reload repository
Date: Mon, 27 Feb 2012 12:52:15 -0600
From: Steve Cohen <scohen@xxxxxxxxxxxxxxx>
Reply-To: Maven Integration for Eclipse users mailing list
<m2e-users@xxxxxxxxxxx>
To: m2e-users@xxxxxxxxxxx

Oops, sorry. Should be here now.

On 02/27/2012 12:25 PM, Matthew Piggott wrote:
The attached screenshot is empty

On 27 February 2012 13:24, Steve Cohen<scohen@xxxxxxxxxxxxxxx> wrote:

Using M2E version 1.0.100.20110804-1717 and eclipse
org.eclipse.platform_3.7.1.**v201109091335

When I attempt to select "Enable Full Index" from the Maven repository
view, I get the following error.

see attached screenshot.

Also Rebuild Index "completes" instantaneously and shows nothing as
soon
as I try expand the repository entry.

What can be causing this?

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users





_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users






_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top