Fix Maven configuration, since it fails on Travis (dependencies).