void () { for (String profile : myEnabledProfilesForXmlSerializer) { myProfilesMap.put(profile, true); } myEnabledProfilesForXmlSerializer.clear(); File workingDir = getWorkingDirFile(); if (MavenConstants.POM_XML.equals(workingDir.getName())) { setWorkingDirPath(workingDir.getParent()); } }