aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/extensions/XooProjectBuilder.java4
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")