Update pom.xml to meet sonatype requirements for central repository synchronisation
Fix maven package warning
Fix some javadoc warnings