add javadoc generation to POM.xml

Signed-off-by: Haochen Xie <haochen@xie.name>