Revert "[#70] Remove hack with putting dependencies versions in pom.xml"

There is a bug in dependency-management-plugin 0.3.0 which fails the
build:
https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/21

This reverts commit 14c4ab3197659b5ff77ad89209ff3c2dd0e71e67.