Public bug reported: When compiling with the new maven included with Ubuntu 18.04, the compilation output is littered with control characters (even if TERM is set to "dumb").
How to get rid of this, it's really hard to read. mvn -q -Duser.timezone="Europe/Luxembourg" -Dgwt.draftCompile=true -P devel package [[1;31mERROR[m] COMPILATION ERROR : [[1;31mERROR[m] /home/alain/Projects/BECKS/prog/BECKS/src/main/java/com/aev/BECKS/server/services/DocumentDownloadServlet.java:[33,17] ';' expected [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile[m [1m(default-compile)[m on project [36mBECKS[m: [1;31mCompilation failure[m [[1;31mERROR[m] [1;31m/home/alain/Projects/BECKS/prog/BECKS/src/main/java/com/aev/BECKS/server/services/DocumentDownloadServlet.java:[33,17] ';' expected[m [[1;31mERROR[m] [1;31m[m [[1;31mERROR[m] -> [1m[Help 1][m [[1;31mERROR[m] [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch. [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging. [[1;31mERROR[m] [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles: [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Compilation failed Compilation exited abnormally with code 1 at Tue May 29 10:17:20 +++++++++++++++++++++++++++++++++++++++++++++++++++++ $ lsb_release -rd Description: Ubuntu 18.04 LTS Release: 18.04 $ apt-cache policy maven maven: Installed: 3.5.2-2 Candidate: 3.5.2-2 Version table: *** 3.5.2-2 500 500 http://be.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages 500 http://be.archive.ubuntu.com/ubuntu bionic/universe i386 Packages 100 /var/lib/dpkg/status 3) What I expected: clean output as was the case in 16.04. Such as: [ERROR] COMPILATION ERROR : [ERROR] /home/alain/Projects/BECKS/prog/BECKS/src/main/java/com/aev/BECKS/server/services/DocumentDownloadServlet.java:[33,17] ';' expected 4) What happened instead: output interspersed control codes (see above) ** Affects: maven-assembly-plugin (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773933 Title: maven spews control characters to its output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maven-assembly-plugin/+bug/1773933/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
