[transfer-spring] use maven dependencyManagement

also adjust scopes of dependencies