result.getUnresolvedDependencies().removeAll( reactorDeps );
Invoker.invoke( result.getResolvedDependencies(), "addAll", Collection.class, reactorDeps );
if ( !result.getUnresolvedDependencies().isEmpty() )
{
throw new DependencyGraphBuilderException( "Could not resolve nor collect following dependencies: "
+ result.getUnresolvedDependencies(), e );
}
return result;
}