mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +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(pluginLoader.getInjectionModules());
|
||||||
moduleList.addAll(overrides.getModules());
|
moduleList.addAll(overrides.getModules());
|
||||||
|
|
||||||
// TODO: fix cyclic dependencies in production environment
|
SCMContextProvider ctx = SCMContext.getContext();
|
||||||
// SCMContextProvider ctx = SCMContext.getContext();
|
|
||||||
// return Guice.createInjector(ctx.getStage().getInjectionStage(), moduleList);
|
return Guice.createInjector(ctx.getStage().getInjectionStage(), moduleList);
|
||||||
return Guice.createInjector(moduleList);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user