Bumped to 6, updated dependencies

And set character encoding in pom.xml
n response to maven warnings