yes the problem is that there's a recursive reference as you've figured out. i'm planning to create a project template for addons but what i0've been doing is just creating the project in the addon root and then in the c++ config change the build directory to the example folder.
once i upload the source for this plugins to github we can move this issues there but by now let's keep them in this post
btw, i was checking to change the minimum java version to 1.7 but then it won't compile so i guess i'll add a note in the docs