From 019453b021b2cbc3e4db393521e29aebf522f8ba Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Sun, 13 Nov 2011 23:22:34 +0100 Subject: Fix loading of Gradle global properties --- sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sonar-maven-plugin/src/main/java/org') 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 4b15f15076a..07f13ae115c 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 @@ -146,8 +146,7 @@ public final class SonarMojo extends AbstractMojo { ProjectDefinition def = MavenProjectConverter.convert(session.getSortedProjects(), project); ProjectReactor reactor = new ProjectReactor(def); - Batch batch = Batch.create(reactor, null, - session, getLog(), lifecycleExecutor, pluginManager, artifactFactory, + Batch batch = new Batch(reactor, session, getLog(), lifecycleExecutor, pluginManager, artifactFactory, localRepository, artifactMetadataSource, artifactCollector, dependencyTreeBuilder, projectBuilder, getEnvironmentInformation(), Maven2PluginExecutor.class); batch.execute(); -- cgit v1.2.3