Get rid of javadoc warnings and improve jar packaging