Use proper version property for dependencies

Backport of fix on master by Hadrian Zbarcea <hadrian@apache.org>
1 file changed