问题
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?
回答1:
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.
回答2:
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:

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

回答4:
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
来源:https://stackoverflow.com/questions/4199743/what-are-the-gigantic-cfs-files-all-about-in-eclipse-workspace-plugin-folder