Fix maven plugin smoke test
- Do not use default encoding to avoid warnings in logs - Update 'Downloading'/'Downloaded' filters to new maven version
This commit is contained in:
@@ -9,6 +9,10 @@
|
|||||||
<artifactId>test-project</artifactId>
|
<artifactId>test-project</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ State state = new File(basedir, "build.log").readLines().collect { it.replaceAll
|
|||||||
def m = pattern.matcher(line)
|
def m = pattern.matcher(line)
|
||||||
if (m.find()) {
|
if (m.find()) {
|
||||||
acc.currentPlugin = m.group(1)
|
acc.currentPlugin = m.group(1)
|
||||||
} else if (line.startsWith("[INFO] Downloaded:") ||
|
} else if (line.startsWith("[INFO] Downloaded") ||
|
||||||
line.startsWith("[INFO] Downloading:") ||
|
line.startsWith("[INFO] Downloading") ||
|
||||||
line.startsWith("Downloaded:") ||
|
line.startsWith("Downloaded:") ||
|
||||||
line.startsWith("Downloading:") ||
|
line.startsWith("Downloading:") ||
|
||||||
line.startsWith("[INFO] PERF:")) {
|
line.startsWith("[INFO] PERF:")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user