当前位置: 代码迷 >> Eclipse >> 在eclipse项目索引中去掉Maven生成的target目录
  详细解决方案

在eclipse项目索引中去掉Maven生成的target目录

热度:43   发布时间:2016-04-23 00:16:55.0
在eclipse项目目录中去掉Maven生成的target目录

StackOverflow上的解决方法:

  1. Mark the "target" folders as "derived" resource from the properties screen of those folders (this option is next to read only and archive property).

  2. In the quick search (Ctrl+Shift+R) screen press the arrow in the top right corner and untick "Show derived resources".

Then those target-files will not be considered in the quick search anymore.


大致意思是:

1. 在eclipse中在target/目录上右键属性,勾选 derived 复选框。

2. 执行快速搜索时,在右上角的菜单中把"Show derived resources"的选项去掉。

  相关解决方案