Updated pom.xml to make dependencies use a reference to the scala version rather than a hardcoded value