From 16ec066437e51167c88d85f50a59270ef9b7d060 Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Tue, 28 Jul 2015 18:24:21 +0300 Subject: [PATCH] Maven: integration test should aomit downloading/downloaded messages even if they are printed with no log level --- libraries/tools/kotlin-maven-plugin/src/it/simple/verify.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/tools/kotlin-maven-plugin/src/it/simple/verify.groovy b/libraries/tools/kotlin-maven-plugin/src/it/simple/verify.groovy index 41488d9d36a..5089786f197 100644 --- a/libraries/tools/kotlin-maven-plugin/src/it/simple/verify.groovy +++ b/libraries/tools/kotlin-maven-plugin/src/it/simple/verify.groovy @@ -19,7 +19,7 @@ State state = new File(basedir, "build.log").readLines().inject(new State()) { a def m = pattern.matcher(line) if (m.find()) { acc.currentPlugin = m.group(1) - } else if (line.startsWith("[INFO] Downloaded:") || line.startsWith("[INFO] Downloading:")) { + } else if (line.startsWith("[INFO] Downloaded:") || line.startsWith("[INFO] Downloading:") || line.startsWith("Downloaded:") || line.startsWith("Downloading:")) { // ignore line } else if (acc.currentPlugin == "kotlin-maven-plugin") { def filtered = removePaths(line, basedir).replace("\\", "/").replaceAll(/[0-9]+\s*ms/, "LLL ms").trim().replaceAll(/^\[[A-Z]+\]$/, "").replaceAll(/version [0-9\.]+/, "version @snapshot@")