What are the gigantic *.CFS files all about in Ecl

2019-03-08 15:20发布

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?

4条回答
淡お忘
2楼-- · 2019-03-08 15:27

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

查看更多
闹够了就滚
3楼-- · 2019-03-08 15:34

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

查看更多
劳资没心,怎么记你
4楼-- · 2019-03-08 15:41

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

查看更多
一纸荒年 Trace。
5楼-- · 2019-03-08 15:43

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

Download repository index updates at startup

查看更多
登录 后发表回答