We should include source paths for the Java source (including tests) for each contrib module.
I followed the approach in
HADOOP-6407 which does not include contrib modules.
There are 15 contrib modules and I do not see an easy way to automate this.
I don't think the copy task is needed in the new eclipse target.
I left it there to copy .launch scripts, but it can be removed if you think it's better.
I've just found out that this is a duplicate of
MAPREDUCE-1592, sorry for that, I did not see it before.
Perhaps we should close it and move discussion there.