Maven: integration test should escape compiler version

This commit is contained in:
Sergey Mashkov
2015-07-28 18:04:00 +03:00
parent 3c3e1a0a52
commit 8b358558c9
@@ -22,7 +22,7 @@ State state = new File(basedir, "build.log").readLines().inject(new State()) { a
} else if (line.startsWith("[INFO] Downloaded:") || line.startsWith("[INFO] 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]+\]$/, "")
def filtered = removePaths(line, basedir).replace("\\", "/").replaceAll(/[0-9]+\s*ms/, "LLL ms").trim().replaceAll(/^\[[A-Z]+\]$/, "").replaceAll(/version [0-9\.]+/, "version @snapshot@")
if (filtered != "") {
acc.lines << filtered
}