aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-08-27 15:36:03 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-08-28 22:46:56 +0200
commit2879d869c19d9058e69e2f1db67d537c394f918b (patch)
tree49e648482f7b372e7c3278ec890af26636b43703 /sonar-batch
parent8e8a0af77865ddef7f7890ccf5e91e55e4d8eb67 (diff)
downloadsonarqube-2879d869c19d9058e69e2f1db67d537c394f918b.tar.gz
sonarqube-2879d869c19d9058e69e2f1db67d537c394f918b.zip
SONAR-6812 Improve format of generated UUIDs for better usage of Lucene
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java
index 7fdba09eeb4..e87820dff4c 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java
@@ -53,6 +53,7 @@ import org.sonar.core.platform.PluginInfo;
import org.sonar.core.platform.PluginLoader;
import org.sonar.core.platform.PluginRepository;
import org.sonar.core.util.DefaultHttpDownloader;
+import org.sonar.core.util.UuidFactoryImpl;
public class GlobalContainer extends ComponentContainer {
@@ -106,7 +107,8 @@ public class GlobalContainer extends ComponentContainer {
DefaultI18n.class,
Durations.class,
RuleI18nManager.class,
- new GlobalRepositoriesProvider());
+ new GlobalRepositoriesProvider(),
+ UuidFactoryImpl.INSTANCE);
addIfMissing(BatchPluginInstaller.class, PluginInstaller.class);
addIfMissing(DefaultRulesLoader.class, RulesLoader.class);
addIfMissing(DefaultGlobalRepositoriesLoader.class, GlobalRepositoriesLoader.class);