add javadoc plugin to lifecycle and fix some javadoc