You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MNG-7372] Maven should display version info in case of error #8043
On Stack Overflow you see quite often a Java related error in Maven and next they show the output of java -version.
If JAVA_HOME was used, then the output of java -version is useless and could lead to false assumptions.
In case of an Exception, the output of mvn -v should be added to console logging.
Of course, we could ask every user who submits a bug report to go back and do mvn -v.
The people who submit a ticket will most likely just copy/paste the full log - and thus give us the mvn -v output immediately. I think we mainly do this for ourselves :). If that is the idea, I like it.
I think everybody benefits if the right information is provided ASAP. The lazy developer just copy/paste section X, we don't have to ask to provide other basic information.
Other things that might be interesting: refer to the issue-tracker of the plugin, maybe even provide the plugin configuration in case a plugin is causing the issue. But let's start with the proper version information.
Activity
jira-importer commentedon Dec 23, 2021
Michael Osipov commented
What is wrong with the user to run
mvn -v?jira-importer commentedon Dec 23, 2021
Maarten Mulders commented
Of course, we could ask every user who submits a bug report to go back and do
mvn -v.The people who submit a ticket will most likely just copy/paste the full log - and thus give us the
mvn -voutput immediately. I think we mainly do this for ourselves :). If that is the idea, I like it.jira-importer commentedon Dec 23, 2021
Robert Scholte commented
I think everybody benefits if the right information is provided ASAP. The lazy developer just copy/paste section X, we don't have to ask to provide other basic information.
Other things that might be interesting: refer to the issue-tracker of the plugin, maybe even provide the plugin configuration in case a plugin is causing the issue. But let's start with the proper version information.
jira-importer commentedon Dec 23, 2021
Michael Osipov commented
Lazy devs actually expect us often to SSH into their machine, solve their problem and make dinner. :-)
gnodet commentedon Oct 14, 2026
Closing as superseded by #12571, which covers version/environment info in the build report metadata and structured error summaries.
Claude Code on behalf of Guillaume Nodet