@Override public void configure(Binder binder) { binder.bind(PluginDependenciesResolver.class).to(NbPluginDependenciesResolver.class); binder.bind(Roles.componentKey(RepositoryConnectorFactory.class, "offline")).to(OfflineConnector.class); //#212214 the EnhancedLocalRepositoryManager will claim artifact is not locally present even if file is there but some metadata is missing //we just replace it with the simple variant that relies on file's presence only. //I'm a bit afraid to remove the binding altogether, that's why we map simple to enhanced. binder.bind(Roles.componentKey(LocalRepositoryManagerFactory.class, "enhanced")).to(SimpleLocalRepositoryManagerFactory.class); //exxperimental only. // binder.bind(InheritanceAssembler.class).to(NbInheritanceAssembler.class); binder.bind(ModelBuilder.class).to(NBModelBuilder.class); }