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-maven3-plugin/src/main/java/org/sonar/maven3/SonarMojo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sonar-maven3-plugin/src/main/java/org') 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 f8de98e99c6..469043bbf58 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 @@ -140,8 +140,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, artifactFactory, + Batch batch = new Batch(reactor, session, getLog(), lifecycleExecutor, artifactFactory, localRepository, artifactMetadataSource, artifactCollector, dependencyTreeBuilder, projectBuilder, getEnvironmentInformation(), Maven3PluginExecutor.class); batch.execute(); -- cgit v1.2.3