diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2017-08-01 16:31:07 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2017-08-04 14:58:16 +0200 |
commit | ac7edbe5890ae7921593dda7520157dca652860d (patch) | |
tree | f08f51e73ae249e74c4e9a4a33ef6b004fe177f4 /plugins | |
parent | e6b28c1ba4e7627f4599590ddfcc21875843ce87 (diff) | |
download | sonarqube-ac7edbe5890ae7921593dda7520157dca652860d.tar.gz sonarqube-ac7edbe5890ae7921593dda7520157dca652860d.zip |
SONAR-9574 Same file indexed in different modules
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/extensions/XooProjectBuilder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/extensions/XooProjectBuilder.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/extensions/XooProjectBuilder.java index 28f1ec6a4eb..38e690c0671 100644 --- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/extensions/XooProjectBuilder.java +++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/extensions/XooProjectBuilder.java @@ -19,12 +19,11 @@ */ package org.sonar.xoo.extensions; +import java.io.File; import org.sonar.api.batch.bootstrap.ProjectBuilder; import org.sonar.api.batch.bootstrap.ProjectDefinition; import org.sonar.api.config.Settings; -import java.io.File; - public class XooProjectBuilder extends ProjectBuilder { private Settings settings; @@ -39,6 +38,7 @@ public class XooProjectBuilder extends ProjectBuilder { return; } ProjectDefinition root = context.projectReactor().getRoot(); + root.resetSources(); ProjectDefinition module = ProjectDefinition.create() .setKey(root.getKey() + ":module1") |