diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-01-24 11:42:05 +0300 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-01-24 11:42:05 +0300 |
commit | ae3c57b069d5f2578877e6066244b5bff15a8344 (patch) | |
tree | eb0a1b707147f3b2f293ebf19deed0368e1eb341 /sonar-batch | |
parent | c02e3f665cc6adb49d5a2f893cee56ccaa5114e2 (diff) | |
download | sonarqube-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.java | 2 |
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); } |