add license header to source file; update pom.xml to support generate javadoc