Add javadocs to build on jenkins