java_gen/pom.xml: Update dependency versions, add slf4j