diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-11-13 23:22:34 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-11-13 23:22:34 +0100 |
commit | 019453b021b2cbc3e4db393521e29aebf522f8ba (patch) | |
tree | 815962af1efbd1eccb1ecfd6d61280515d9b130c /sonar-maven-plugin/src/main/java/org | |
parent | 1e4714edc397647c34421cf455bd7891d13447b4 (diff) | |
download | sonarqube-019453b021b2cbc3e4db393521e29aebf522f8ba.tar.gz sonarqube-019453b021b2cbc3e4db393521e29aebf522f8ba.zip |
Fix loading of Gradle global properties
Diffstat (limited to 'sonar-maven-plugin/src/main/java/org')
-rw-r--r-- | sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java | 3 |
1 files changed, 1 insertions, 2 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 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(); |