* DependencyManagerUtils.NODE_DATA_PREMANAGED_VERSION ) ) ) { DefaultRepositorySystemSession newSession = new
* DefaultRepositorySystemSession( session ); newSession.setConfigProperty(
* DependencyManagerUtils.NODE_DATA_PREMANAGED_VERSION, true ); session = newSession; }
*/
final DependencyResolutionRequest request = new DefaultDependencyResolutionRequest();
request.setMavenProject( project );
Invoker.invoke( request, "setRepositorySession", RepositorySystemSession.class, session );
final DependencyResolutionResult result = resolveDependencies( request, reactorProjects );
org.eclipse.aether.graph.DependencyNode graph =
(org.eclipse.aether.graph.DependencyNode) Invoker.invoke( DependencyResolutionResult.class, result,