Fixes from @pvlugter's review.

* Re-enable doc packaging (even with emty jars) because sonatype requires a jar, even if it's useless.