Javadoc and jar source compilation for maven project

use this for generate jar source file and javadoc 

mvn source:jar install - deploy source.jar to local maven repository 
mvn javadoc:javadoc - generate java html documentation