What are the gigantic *.CFS files all about in Eclipse workspace plugin folder?

EclipsePluginsMavenWorkspaceNexus

Eclipse Problem Overview


I started to notice my WD drive getting full and ran a size:gigantic file search on it. It has turned up several files here:

F:\SCOTT-SHARED-DESKTOP\My Documents\JPA_SPRING_STRUTS\.metadata\.plugins\org.maven.ide.eclipse\nexus\d9d714e11cb097b3ffcec91cccc65d3e_58.cfs

that exceed 189,992 KB (189 MB)!

Anyone know about these rascals?

Eclipse Solutions


Solution 1 - Eclipse

Indeed, it's Nexus indexes. You can disable partially or totally Nexus indexes retrieval by right clicking on repositories in the Maven repositories view and checking/uncheking Disable Index Details/Enable Minimum Index/Full Index Enabled (options with M2Eclipse 0.12).

Hereunder a screenshot: enter image description here

Solution 2 - Eclipse

You might also consider unchecking the checkbox (under Window menu, Preferences, Maven):

Download repository index updates at startup

Solution 3 - Eclipse

As stacker points out, each of these seem to be a Lucene segment file, with Compound File format. If you want to see what is inside, you can open them with Luke.

Solution 4 - Eclipse

Every repository that m2eclipse uses is indexed by the Nexus Indexer. If m2eclipse is using a remote repository, it will download a Nexus index from the remote repository. If m2eclipse is managing a local repository (local or workspace) it will use the open source Nexus indexer to create and maintain a local index. This index is what allows you to quickly search for and locate dependencies by artifactId, groupId, version, or classname.

http://books.sonatype.com/m2eclipse-book/reference/repository-sect-repo-view.html#d5e1169

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionstanlickView Question on Stackoverflow
Solution 1 - EclipseDoc DavluzView Answer on Stackoverflow
Solution 2 - EclipsegliptakView Answer on Stackoverflow
Solution 3 - EclipsePersimmoniumView Answer on Stackoverflow
Solution 4 - EclipsetejaView Answer on Stackoverflow