return new XmlNotificationListener(fileName, new PrintStream(new FileOutputStream(getFile(project.getBasedir() + TARGET_SUREFIRE_REPORTS_TEST_MUNIT_XML + fileName))));
}
catch (FileNotFoundException e)
{
e.printStackTrace();
return new DummyNotificationListener();
}
catch (IOException e)
{
e.printStackTrace();
return new DummyNotificationListener();
}
}