Added plugin configuration for source and javadoc.
Added javadoc.