Fixes the POM missing source-code encoding, and a compilation warning.