Changes to try to generate .jar. Added more recent dependencies in pom.