CDK-730. Make javadoc JAR workaround consistent.

Closes #250