Add javadoc configuration to pom.xml.