docs: public static MavenConfiguration getConfig(final File settingsFile, final Properties props) throws Exception {
  
          props.setProperty(ServiceConstants.PID + MavenConstants.PROPERTY_SETTINGS_FILE, settingsFile.toURI()
                  .toASCIIString());
  
          final MavenConfigurationImpl config = new MavenConfigurationImpl(new PropertiesPropertyResolver(props),
                  ServiceConstants.PID);
  
          final MavenSettings settings = new MavenSettingsImpl(settingsFile.toURI().toURL());
  
          config.setSettings(settings);
  
          return config;
  
      }