Fixes java publishing to not error in the doc generation/publishing -- i...

....e. don't publish any docs.