aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-maven3-plugin
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-11-13 23:22:34 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-11-13 23:22:34 +0100
commit019453b021b2cbc3e4db393521e29aebf522f8ba (patch)
tree815962af1efbd1eccb1ecfd6d61280515d9b130c /sonar-maven3-plugin
parent1e4714edc397647c34421cf455bd7891d13447b4 (diff)
downloadsonarqube-019453b021b2cbc3e4db393521e29aebf522f8ba.tar.gz
sonarqube-019453b021b2cbc3e4db393521e29aebf522f8ba.zip
Fix loading of Gradle global properties
Diffstat (limited to 'sonar-maven3-plugin')
-rw-r--r--sonar-maven3-plugin/src/main/java/org/sonar/maven3/SonarMojo.java3
1 files changed, 1 insertions, 2 deletions
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();