aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-01-24 11:42:05 +0300
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-01-24 11:42:05 +0300
commitae3c57b069d5f2578877e6066244b5bff15a8344 (patch)
treeeb0a1b707147f3b2f293ebf19deed0368e1eb341 /sonar-batch
parentc02e3f665cc6adb49d5a2f893cee56ccaa5114e2 (diff)
downloadsonarqube-ae3c57b069d5f2578877e6066244b5bff15a8344.tar.gz
sonarqube-ae3c57b069d5f2578877e6066244b5bff15a8344.zip
Fix bug in construction of in-memory POM
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/ProjectTree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/ProjectTree.java b/sonar-batch/src/main/java/org/sonar/batch/ProjectTree.java
index 69c4828e4d4..0381c71f8f2 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/ProjectTree.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/ProjectTree.java
@@ -87,7 +87,7 @@ public class ProjectTree {
}
// Configure test directories
- for (String dir : project.getSourceDirs()) {
+ for (String dir : project.getTestDirs()) {
pom.addTestCompileSourceRoot(dir);
}