Adds support for Juno builds

Set the correct path for the eclipse repo according to the
dependency to jdt.core

I am not a big fan of the code to get the Eclipse out of the dependency tree, but it works.