@Deprecated
public File tree( final String groupId, final String artifactId, final String version, final String workspaceId,
final DependencyScope scope, final Map<String, String[]> params )
throws AproxWorkflowException
{
final ProjectVersionRef ref = new SimpleProjectVersionRef( groupId, artifactId, version );
final Map<String, Object> parsed = presetParamParser.parse( params );
if ( !parsed.containsKey( CommonPresetParameters.SCOPE ) )
{
parsed.put( CommonPresetParameters.SCOPE, scope == null ? DependencyScope.runtime : scope );
}
final ProjectRelationshipFilter filter = requestAdvisor.createRelationshipFilter( params, parsed );
final RepositoryContentRequest dto = new RepositoryContentRequest();
dto.setWorkspaceId( workspaceId );
final GraphDescription desc = new GraphDescription( filter, null, ref );
dto.setGraphComposition( new GraphComposition( GraphCalculationType.ADD, Collections.singletonList( desc ) ) );
return tree( dto );
}