}
if (publishEngine == null) {
publishEngine = new PublishEngine(settings, eventManager);
}
if (installEngine == null) {
installEngine = new InstallEngine(
settings, searchEngine, resolveEngine, publishEngine);
}
if (repositoryEngine == null) {
repositoryEngine = new RepositoryManagementEngine(
settings, searchEngine, resolveEngine);