Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Any way to share the repository index between workspaces?

No, not currently possible but we welcome quality patches.

Note that we had troubles sharing lucene indexes (this is what m2e uses
internally) among multiple processes in the patch, so I don't know if it
is even possible to reliably share repository indexes among multiple
workspaces.

Also note that m2e keeps at least three copies of each repository index.
The original .gz files downloaded from remote repositories. A shared
lucene instance used to optimize time spent processing gz files. And
per-workspace lucene indexes. The first two are stored under local
repository .cache/m2e directory, the last one is per-workspace.

--
Regards,
Igor

On 12-04-25 8:27 AM, Cèsar Ordiñana wrote:
Hi.

I'm working with many related projects, having each one on its own
eclipse workspace. On each of those workspaces, the m2e plugin downloads
the maven repository index into the
".metadata/.plugins/org.eclipse.m2e.core/nexus" workspace folder.

The index files takes around 260Mb of disc space. This is becoming a
real problem for me, as having near 20 workspaces takes around 5Gb of
disc space for all the (repeated) indexes.

Is there any way to configure where the index is stored?

This way it could be configured on each workspace to use a common place,
as it is really always the same index file, saving a lot of disc space,
and also unneeded connections to the main repository server.

The eclipse version I'm using currently is:

Eclipse IDE for Java Developers
Version: Indigo Service Release 2
Build id: 20120216-1857

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


Back to the top