javaConf.setJavaLanguageLevel( level );
}
configuration.getClassLoader().addClassLoader( newLoader );
SemanticModules modules = configuration.getSemanticModules();
modules.addSemanticModule( new BPMNSemanticModule() );
modules.addSemanticModule( new BPMNDISemanticModule() );
modules.addSemanticModule( new BPMNExtensionsSemanticModule() );
modules.addSemanticModule( new ProcessSemanticModule() );
XmlProcessReader xmlReader = new XmlProcessReader( modules, Thread.currentThread().getContextClassLoader() );