Support javadoc

I added javadoc plugin to generate javadoc. I also added a patch to supress the wanrings when i generating javadoc with the plugin.