Add javadoc plugin to pom.xml.