mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
reactivate guice production stage
This commit is contained in:
@@ -196,10 +196,9 @@ public class ScmContextListener extends GuiceServletContextListener
|
||||
moduleList.addAll(pluginLoader.getInjectionModules());
|
||||
moduleList.addAll(overrides.getModules());
|
||||
|
||||
// TODO: fix cyclic dependencies in production environment
|
||||
// SCMContextProvider ctx = SCMContext.getContext();
|
||||
// return Guice.createInjector(ctx.getStage().getInjectionStage(), moduleList);
|
||||
return Guice.createInjector(moduleList);
|
||||
SCMContextProvider ctx = SCMContext.getContext();
|
||||
|
||||
return Guice.createInjector(ctx.getStage().getInjectionStage(), moduleList);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user