在eclipse项目目录中去掉Maven生成的target目录
StackOverflow上的解决方法:
-
Mark the "target" folders as "derived" resource from the properties screen of those folders (this option is next to read only and archive property).
-
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"的选项去掉。
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。