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
[ERROR] COMPILATION ERROR : 
[ERROR] 
/home/alain/Projects/BECKS/prog/BECKS/src/main/java/com/aev/BECKS/server/services/DocumentDownloadServlet.java:[33,17]
 ';' expected
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile 
(default-compile) on project BECKS: Compilation failure
[ERROR] 
/home/alain/Projects/BECKS/prog/BECKS/src/main/java/com/aev/BECKS/server/services/DocumentDownloadServlet.java:[33,17]
 ';' expected
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with 
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug 
logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
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

Reply via email to