Maven: reduce maven plugin output

#KT-20400 Fixed
This commit is contained in:
Sergey Mashkov
2017-09-28 20:17:14 +03:00
parent be21a84778
commit 49cbb2219c
4 changed files with 3 additions and 14 deletions
@@ -1,3 +0,0 @@
[INFO] Kotlin version @snapshot@ (JRE <jre-version>)
[INFO] Compiling Kotlin sources from [/src/main/kotlin]
[INFO] Module name is test-project
@@ -168,7 +168,7 @@ public class K2JVMCompileMojo extends KotlinCompileMojoBase<K2JVMCompilerArgumen
arguments.setDestination(output);
arguments.setModuleName(moduleName);
getLog().info("Module name is " + moduleName);
getLog().debug("Module name is " + moduleName);
if (arguments.getNoOptimize()) {
getLog().info("Optimization is turned off");
@@ -197,7 +197,7 @@ public abstract class KotlinCompileMojoBase<A extends CommonCompilerArguments> e
@Override
public void execute() throws MojoExecutionException, MojoFailureException {
getLog().info("Kotlin version " + KotlinCompilerVersion.VERSION +
getLog().debug("Kotlin version " + KotlinCompilerVersion.VERSION +
" (JRE " + System.getProperty("java.runtime.version") + ")");
if (!hasKotlinFilesInSources()) {
@@ -433,7 +433,7 @@ public abstract class KotlinCompileMojoBase<A extends CommonCompilerArguments> e
if (sourceRoots.isEmpty()) {
throw new MojoExecutionException("No source roots to compile");
}
getLog().info("Compiling Kotlin sources from " + sourceRoots);
getLog().debug("Compiling Kotlin sources from " + sourceRoots);
return sourceRoots;
}