aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core-maven-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-core-maven-plugin')
-rw-r--r--sonar-core-maven-plugin/src/main/java/org/sonar/maven2/BatchMojo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core-maven-plugin/src/main/java/org/sonar/maven2/BatchMojo.java b/sonar-core-maven-plugin/src/main/java/org/sonar/maven2/BatchMojo.java
index f979a24944d..02578c37b0a 100644
--- a/sonar-core-maven-plugin/src/main/java/org/sonar/maven2/BatchMojo.java
+++ b/sonar-core-maven-plugin/src/main/java/org/sonar/maven2/BatchMojo.java
@@ -145,7 +145,7 @@ public final class BatchMojo 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(), reactor, session, project,