From 78a4e90132f3f2f88ade7f312c179045bfeebb00 Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Mon, 12 Sep 2016 19:07:57 +0300 Subject: [PATCH] Minor: Fix Maven plugin compilation (configuration parameter is not required now in analyzeAndGenerate(), cherrypick problem) --- .../org/jetbrains/kotlin/maven/ExecuteKotlinScriptMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/tools/kotlin-maven-plugin/src/main/java/org/jetbrains/kotlin/maven/ExecuteKotlinScriptMojo.java b/libraries/tools/kotlin-maven-plugin/src/main/java/org/jetbrains/kotlin/maven/ExecuteKotlinScriptMojo.java index 1abeafc61bb..6c17b065f7d 100644 --- a/libraries/tools/kotlin-maven-plugin/src/main/java/org/jetbrains/kotlin/maven/ExecuteKotlinScriptMojo.java +++ b/libraries/tools/kotlin-maven-plugin/src/main/java/org/jetbrains/kotlin/maven/ExecuteKotlinScriptMojo.java @@ -180,7 +180,7 @@ public class ExecuteKotlinScriptMojo extends AbstractMojo { KotlinCoreEnvironment environment = KotlinCoreEnvironment.createForProduction(rootDisposable, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES); - GenerationState state = KotlinToJVMBytecodeCompiler.INSTANCE.analyzeAndGenerate(environment, configuration); + GenerationState state = KotlinToJVMBytecodeCompiler.INSTANCE.analyzeAndGenerate(environment); if (state == null) { throw new ScriptExecutionException(scriptFile, "compile error");