I\'m using maven 2.0.9 with Eclipse 3.3.2.
I\'m used to launching a fresh build once per day by a mvn clean install
.
Then, if I refresh my Eclipse project,
When Eclipse freezes, looking at the process activity, I can see it browsing all my target, .hg and .git directories. Moreover, those directories are also copied into Eclipse's bin directory. A lot of CPU and disk usage for nothing.
Not cleaning the target directory is not an acceptable solution.
There was a solution using a Monkey script (http://maven.40175.n5.nabble.com/Eclipse-amp-target-directory-td72354.html) but the project has been closed.
I still look for a solution to tell Eclipse to ignore Maven target directories, as well as .hg and .git directories.
Eclipse continuously watching those is a pain.
I also use m2eclipse but it doesn't solve that issue.