"</definitions>"))
);
List<ProcessDefinition> processDefinitions = repositoryService.createProcessDefinitionQuery().list();
JsonListConverter<ProcessDefinition> jsonListConverter = new JsonListConverter<ProcessDefinition>(new JsonProcessDefinitionConverter());
// TODO: remove system.out!
System.out.println(jsonListConverter.toJson(processDefinitions, 2));
deleteDeployments(deploymentIds);