697071727374757677
catch (IllegalArgumentException e) { throw new InvalidConfigurationFileException(e.getMessage()); } final MavenWorkingSession newSession = session.configureSettingsFromFile(null, settingsXmlFile); return newSession.regenerateSession(); } }