dependency scope taken into account when resolving