Modified pom.xml to build javaDoc automatically