added creation of jar-with-dependencies to pom; removes unnecessary loop
with output