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

给你一囗甜甜゛ 提交于 2019-12-04 07:42:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!