// load settings explicitly, ignoring system property
System.setProperty("UimaExternalOverrides", "missing file"); // Will fail if used
in = new XMLInputSource(JUnitExtension.getFile("TextAnalysisEngineImplTest/AggregateWithExternalOverrides.xml"));
desc = UIMAFramework.getXMLParser().parseAnalysisEngineDescription(in);
Map<String,Object> additionalParams = new HashMap<String,Object>();
Settings extSettings = new Settings_impl();
FileInputStream fis = new FileInputStream(new File(resDir,"testExternalOverride2.settings"));
extSettings.load(fis);
fis.close();
additionalParams.put(Resource.PARAM_EXTERNAL_OVERRIDE_SETTINGS, extSettings);
UIMAFramework.produceAnalysisEngine(desc, additionalParams);
System.clearProperty("UimaExternalOverrides");