extract all types of dependencies from profiles