在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"的选项去掉。

你可能感兴趣的:(在eclipse项目目录中去掉Maven生成的target目录)