Hi Maven dev team,

Apache Yetus parses maven version by the following bash script and it no
longer works in Maven 3.5.0 or upper.
```
  maven_version=$(mvn --offline --version 2>/dev/null | head -n 1
2>/dev/null)
  maven_version=${maven_version##* }
```
https://github.com/apache/yetus/blob/rel/0.11.1/precommit/src/main/shell/test-patch.d/maven.sh#L258

After MNG-3507, the output contains control character and failed to parse
it. I'd like to fix this problem at
https://issues.apache.org/jira/browse/YETUS-957 but I'd like to hear the
best way to solve this problem from the Maven dev team.

Regards,
Akira Ajisaka

Reply via email to