{
if ( !filteredOutputDirectory.exists() )
{
filteredOutputDirectory.mkdirs();
}
XmlStreamReader xmlStreamReader = null;
try
{
// so we get encoding from the file itself
xmlStreamReader = new XmlStreamReader( changesXml );
String encoding = xmlStreamReader.getEncoding();
File resultFile = new File( filteredOutputDirectory,
project.getGroupId() + "." + project.getArtifactId() + "-changes.xml" );
final MavenFileFilterRequest mavenFileFilterRequest =
new MavenFileFilterRequest( changesXml, resultFile, true, project, Collections.EMPTY_LIST,