Eclipse is no longer able to compile OpenDayLight. The reason is three maven plugins which are used by OpenDayLight but are not integrated into Eclipse: maven-plugin-plugin, karaf-maven-plugin and maven-antrun-plugin.
This means you will always have Eclipse compile errors in the project (this could go to up to 100000 errors).
You can use Eclipse for editing easily but to compile the project you need to open a terminal window.
If you want to debug the code, you need to do it remotely.

So I can only build it in Linux by terminal windows and debug it remotely.