diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-05-05 23:01:54 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-05-06 00:24:06 +0400 |
commit | 804816f9434ba22951a4965155df0837d21f5d22 (patch) | |
tree | 396d1e213dea4e8c4a3c5f4c1745baba73e27198 /sonar-maven3-plugin/src | |
parent | be8c67c1396c03bf71cc2fb7770668c54e903e32 (diff) | |
download | sonarqube-804816f9434ba22951a4965155df0837d21f5d22.tar.gz sonarqube-804816f9434ba22951a4965155df0837d21f5d22.zip |
SONAR-2298 Fix bug, when root project not a first one in Maven reactor
This situation shouldn't lead to partial analysis.
Diffstat (limited to 'sonar-maven3-plugin/src')
-rw-r--r-- | sonar-maven3-plugin/src/main/java/org/sonar/maven3/SonarMojo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-maven3-plugin/src/main/java/org/sonar/maven3/SonarMojo.java b/sonar-maven3-plugin/src/main/java/org/sonar/maven3/SonarMojo.java index 7bb5e3e5f69..82f0847f2de 100644 --- a/sonar-maven3-plugin/src/main/java/org/sonar/maven3/SonarMojo.java +++ b/sonar-maven3-plugin/src/main/java/org/sonar/maven3/SonarMojo.java @@ -138,7 +138,7 @@ public final class SonarMojo extends AbstractMojo { } private void executeBatch() throws MojoExecutionException { - ProjectDefinition def = MavenProjectConverter.convert(session.getSortedProjects()); + ProjectDefinition def = MavenProjectConverter.convert(session.getSortedProjects(), project); Reactor reactor = new Reactor(def); Batch batch = new Batch(getInitialConfiguration(), |