Added build file for jar and doc generation.