Skip to content
New issue

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

Consistent version output #838

Closed
delanym opened this issue Apr 12, 2023 · 0 comments
Closed

Consistent version output #838

delanym opened this issue Apr 12, 2023 · 0 comments
Assignees
Milestone

Comments

@delanym
Copy link
Contributor

delanym commented Apr 12, 2023

Run mvn --version or mvn -V ... and you'll get the same output of version info.

Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
Maven home: /home/sol/.m2/wrapper/dists/apache-maven-3.9.0-bin/31cc4014/apache-maven-3.9.0
Java version: 17.0.5, vendor: Azul Systems, Inc., runtime: /usr/lib/jvm/zulu-17-amd64
Default locale: en_ZA, platform encoding: UTF-8
OS name: "linux", version: "5.19.0-38-generic", arch: "amd64", family: "unix"

Run mvnd --version and you'll get that same output prefixed with something like

Apache Maven Daemon (mvnd) 1.0-m6 linux-amd64 native client (47d4c6b9c399079d91312bb8ae35d1d76e7fd97a)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.linux.LinuxNativePty
Apache Maven 4.0.0-alpha-5 (26d10a4bf9a2df75feef60da01d8706f2bf77a47)
Maven home: /opt/maven-mvnd-1.0-m6-m40-linux-amd64/mvn
Java version: 17.0.5, vendor: Azul Systems, Inc., runtime: /usr/lib/jvm/zulu-17-amd64
Default locale: en_ZA, platform encoding: UTF-8
OS name: "linux", version: "5.19.0-38-generic", arch: "amd64", family: "unix"

Run mvnd -V ... and the Maven version info is no longer printed - only the mvnd-specific info.

Apache Maven Daemon (mvnd) 1.0-m6 linux-amd64 native client (47d4c6b9c399079d91312bb8ae35d1d76e7fd97a)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.linux.LinuxNativePty
@gnodet gnodet self-assigned this May 15, 2023
@gnodet gnodet added this to the 1.0-m7 milestone May 15, 2023
gnodet added a commit to gnodet/mvnd that referenced this issue May 15, 2023
gnodet added a commit to gnodet/mvnd that referenced this issue May 17, 2023
@gnodet gnodet closed this as completed in 8dfc265 May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants