Maven: reduce maven plugin output
#KT-20400 Fixed
This commit is contained in:
@@ -1,17 +1,9 @@
|
||||
[INFO] Kotlin version @snapshot@ (JRE <jre-version>)
|
||||
[INFO] Compiling Kotlin sources from [/test-extension/src/main/kotlin]
|
||||
[INFO] Module name is test-extension
|
||||
[WARNING] Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath or use '-Xskip-runtime-version-check' to suppress this warning
|
||||
[WARNING] /local-repo/org/jetbrains/kotlin/kotlin-compiler/@snapshot@/kotlin-compiler-@snapshot@.jar: (-1, -1) Library has Kotlin runtime bundled into it
|
||||
[INFO] Kotlin version @snapshot@ (JRE <jre-version>)
|
||||
[WARNING] No sources found skipping Kotlin compile
|
||||
[INFO] Kotlin version @snapshot@ (JRE <jre-version>)
|
||||
[INFO] Compiling Kotlin sources from [/use-test-extension/src/main/kotlin]
|
||||
[INFO] Module name is use-test-extension
|
||||
[INFO] Applicability test for project use-test-extension
|
||||
[INFO] Applied plugin: 'test-me'
|
||||
[INFO] Configuring test plugin with arguments
|
||||
[INFO] Plugin applied
|
||||
[INFO] Option value: my-special-value
|
||||
[INFO] Kotlin version @snapshot@ (JRE <jre-version>)
|
||||
[WARNING] No sources found skipping Kotlin compile
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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");
|
||||
|
||||
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user