private LinkedHashSet resolveParentIds(ConfigurationData configurationData) throws MissingDependencyException, InvalidConfigException {
Environment environment = configurationData.getEnvironment();
LinkedHashSet parentIds = new LinkedHashSet();
List dependencies = new ArrayList(environment.getDependencies());
for (ListIterator iterator = dependencies.listIterator(); iterator.hasNext();) {
Dependency dependency = (Dependency) iterator.next();
Artifact resolvedArtifact = artifactResolver.resolveInClassLoader(dependency.getArtifact());
if (isConfiguration(resolvedArtifact)) {
parentIds.add(resolvedArtifact);