fixing javadoc, adding plugin