} else {
String message = NLS.bind("Bad pom.xml: no name, artifactId, or groupId.", null);
throw new CoreException(new Status(Status.ERROR, MavenCorePlugin.PLUGIN_ID, message));
}
}
MavenProjectInfo parent = null;
MavenProjectInfo projectInfo = new MavenProjectInfo(derivedProjectName, pomFile, model, parent);
ArrayList<MavenProjectInfo> projectInfos = new ArrayList<MavenProjectInfo>();
projectInfos.add(projectInfo);
ResolverConfiguration resolverConfiguration = new ResolverConfiguration();
String activeProfiles = "pom.xml";
resolverConfiguration.setActiveProfiles(activeProfiles);