Generalized artifact dependency management