Yes, but you've already specified the version in spark/pom.xml.  Duplicating the version specification in spark/core/pom.xml is not necessary and is bad practice unless you have a specific (and commented) reason to override the previously specified version.