You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "khmarbaise (via GitHub)" <gi...@apache.org> on 2026/08/15 17:32:57 UTC
[I] Using mvnsh - ERROR shown while no error happens - "mvn --version", "mvnenc [maven]
khmarbaise opened a new issue, #12749:
URL: https://github.com/apache/maven/issues/12749
### Affected version
4.0.0-rc-6
### Bug description
If I start the `mvnsh` and I call `mvn --version`
```
maven-buch mvnsh> mvn --version
Apache Maven 4.0.0-rc-6 (6a8189b24518daa120539fa41ce12f2b48ec09a8)
Maven home: /Users/khm/tools/maven
Java version: 28-ea, vendor: Oracle Corporation, runtime: /Users/khm/.sdkman/candidates/java/28.0.0+ea.11-open
Default locale: en_DE, platform encoding: UTF-8, time zone: Europe/Berlin
OS name: "mac os x", version: "14.8.3", arch: "aarch64", family: "mac"
[ERROR] mvn command exited with exit code 0
maven-buch mvnsh> mvnenc --version
Apache Maven 4.0.0-rc-6 (6a8189b24518daa120539fa41ce12f2b48ec09a8)
Maven home: /Users/khm/tools/maven
Java version: 28-ea, vendor: Oracle Corporation, runtime: /Users/khm/.sdkman/candidates/java/28.0.0+ea.11-open
Default locale: en_DE, platform encoding: UTF-8, time zone: Europe/Berlin
OS name: "mac os x", version: "14.8.3", arch: "aarch64", family: "mac"
[ERROR] mvnenc command exited with exit code 0
```
The output of the `mvn --version` (or `mvnenc --version`) shows a RED collored `ERROR` output indicating that there is an error which is not the case ... because it is also reporting `with exit code 0` ...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Using mvnsh - ERROR shown while no error happens - "mvn --version", "mvnenc [maven]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #12749: Using mvnsh - ERROR shown while no error happens - "mvn --version", "mvnenc
URL: https://github.com/apache/maven/issues/12749
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org