Add working javadoc for maven.