Charset targetEnc = parseCharset(cmd.getOptionValue(OPT_TARGET_ENCODING.getOpt()));
String sourcePaths = cmd.getOptionValue(OPT_SOURCE_PATH.getOpt());
String plugin = cmd.getOptionValue(OPT_PLUGIN.getOpt());
File outputDirectory = new File(output);
DmdlSourceRepository source = buildRepository(parseFileList(sourcePaths), sourceEnc);
ClassLoader serviceLoader = buildPluginLoader(Main.class.getClassLoader(), parseFileList(plugin));
ModelFactory factory = Models.getModelFactory();
return new Configuration(
factory,