common
---common-all (here all the following sub-projects are introduced as dependencies)
---common-core
---common-es
---common-file
---common-job
---common-log
---common-mq
---common-redis
---common-security
So I need to execute the mvn clean install deploy command to push these packages to the private warehouse.
Executing common-core, common-es, common-file. . . These sub-projects are all normal, but only when common-all is released to the warehouse, an error is reported:
java.lang.NumberFormatException: For input string: "1;[[["
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.valueOf(Integer.java:766)
at org.fusesource.jansi.io.AnsiOutputStream.write(AnsiOutputStream.java:199)
at java.io.FilterOutputStream.write(FilterOutputStream.java:125)
at java.io.PrintStream.write(PrintStream.java:480)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
at java.io.PrintStream.write(PrintStream.java:526)
at java.io.PrintStream.print(PrintStream.java:669)
at java.io.PrintStream.println(PrintStream.java:806)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:348)
Exception in thread "Thread-0" java.lang.NumberFormatException: For input string: "1;[[[["
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.valueOf(Integer.java:766)
at org.fusesource.jansi.io.AnsiOutputStream.write(AnsiOutputStream.java:199)
at java.io.FilterOutputStream.write(FilterOutputStream.java:125)
at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
at org.fusesource.jansi.io.AnsiOutputStream.uninstall(AnsiOutputStream.java:337)
at org.fusesource.jansi.AnsiPrintStream.uninstall(AnsiPrintStream.java:82)
at org.fusesource.jansi.AnsiConsole.systemUninstall(AnsiConsole.java:541)
at org.apache.maven.shared.utils.logging.MessageUtils.doSystemUninstall(MessageUtils.java:101)
at org.apache.maven.shared.utils.logging.MessageUtils.access$100(MessageUtils.java:34)
at org.apache.maven.shared.utils.logging.MessageUtils$1.run(MessageUtils.java:211)
At present, all these sub-projects are successful when executing mvn clean install, but only an exception is thrown when executing common-all.
But when I switched back to Windows 11, it all worked fine. I suspect it has a lot to do with the system environment, but I don't know where to start. I hope there are experts who can give me some advice. Thank you.
System environment, this is what I get when I execute mvn -X:
pengwz@GE66:~/software/idea/workspace/common/common-all$ mvn -X
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /home/pengwz/software/maven/apache-maven-3.9.5
Java version: 1.8.0_391, vendor: Oracle Corporation, runtime: /home/pengwz/software/java/8/jdk1.8.0_391/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "linux", version: "6.5.0-15-lowlatency", arch: "i386", family: "unix"
I'm currently using Ubuntu-Studio 22.04 and there is a command that seems relevant:
pengwz@GE66:~$ echo $TERM
xterm-256color
But when I changed the value to xterm, the problem was still not solved