1. 程式人生 > >在eclipse專案目錄中去掉Maven生成的target目錄

在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"的選項去掉。