Updated the pom.xml

Updated dependencies and repository's.
Also changed the java version and name.