We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One of the many things I like in Maven 4 (alpha) is the longer line width. As an example, see the first few lines of any build:
Apache Maven 4.0.0-alpha-8-SNAPSHOT (36db1e35cac5e8c72bf0c795dd08756e50079e05) Maven home: /opt/homebrew/Cellar/maven-snapshot/4.0.0-alpha-8-20230719.153755-14/libexec Java version: 17.0.7, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home Default locale: en_NL, platform encoding: UTF-8 OS name: "mac os x", version: "13.4.1", arch: "aarch64", family: "mac" [INFO] Scanning for projects... [INFO] -------------------------------------------------------------------------------------------------------------------------- [INFO] Reactor Build Order: [INFO]
The equivalent with mvnd however does not leverage the full terminal width:
Apache Maven Daemon (mvnd) 1.0-m7 darwin-aarch64 native client (b2ef5d81997adbcdb72dc8c5603722538fa641fe) Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.osx.OsXNativePty Apache Maven 4.0.0-alpha-7 (bf699a388cc04b8e4088226ba09a403b68de6b7b) Maven home: /Users/maarten/Tools/maven-mvnd-1.0-m7-m40-darwin-aarch64/mvn Java version: 17.0.7, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home Default locale: en_NL, platform encoding: UTF-8 OS name: "mac os x", version: "13.4.1", arch: "aarch64", family: "mac" [INFO] Processing build on daemon 93e78205 [INFO] Scanning for projects... [INFO] BuildTimeEventSpy is registered. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO]
In both cases, I ran the validate phase and added -V to print the version of Maven (Daemon).
validate
-V
The text was updated successfully, but these errors were encountered:
Nice catch. I think the reason is that mvnd needs to provide a custom MessageBuilderFactory with an implementation that would do something similar to
MessageBuilderFactory
maven-mvnd/daemon/src/main/java/org/apache/maven/cli/MvndHelpFormatter.java
Lines 151 to 159 in 7d9a39b
Sorry, something went wrong.
Fix terminal width (fixes apache#870)
e16794a
7ec634d
223d8e4
18d0583
No branches or pull requests
One of the many things I like in Maven 4 (alpha) is the longer line width. As an example, see the first few lines of any build:
The equivalent with mvnd however does not leverage the full terminal width:
In both cases, I ran the
validate
phase and added-V
to print the version of Maven (Daemon).The text was updated successfully, but these errors were encountered: