aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-maven-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-maven-plugin')
-rw-r--r--sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java b/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java
index eb57053ba8a..0f84702b9c9 100644
--- a/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java
+++ b/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java
@@ -145,7 +145,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(),