use of org.eclipse.tycho.testing.CompoundRuntimeException in project tycho by eclipse.
the class MavenDependencyCollectorTest method getSortedProjects.
private List<MavenProject> getSortedProjects(MavenExecutionRequest request) {
request.getProjectBuildingRequest().setProcessPlugins(false);
MavenExecutionResult result = maven.execute(request);
if (result.hasExceptions()) {
throw new CompoundRuntimeException(result.getExceptions());
}
return result.getTopologicallySortedProjects();
}
Aggregations