*
* @return A dependency pool containing all the recursive dependencies that do not conflict with already
* loaded {@link IClassPackage}'s in the parent {@link #pool}.
*/
public static IClassDependencyPool createFrom (IClassPackageResolver local, ProjectObjectModel model, IClassPackageDependencyReference... dependencies) {
IClassDependencyPool pool = ClassPackageUtil.createStandardDependencyPool("Maven Pool: " + model, true, PoolScope.Root);
List<? extends IClassPackageReference> modeDependencies = model.getDependencies();
ClassPackageUtil.append(pool, local, true, model,
CollectionUtil.insert(dependencies, 0, (Object[]) modeDependencies.toArray(new IClassPackageReference[modeDependencies.size()]))
);