[jira] [Commented] (MNG-7372) Maven should display version info in case of error

2021-12-23 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-7372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17464624#comment-17464624
 ] 

Michael Osipov commented on MNG-7372:
-

Lazy devs actually expect us often to SSH into their machine, solve their 
problem and make dinner. :-)

> Maven should display version info in case of error
> --
>
> Key: MNG-7372
> URL: https://issues.apache.org/jira/browse/MNG-7372
> Project: Maven
>  Issue Type: Improvement
>Reporter: Robert Scholte
>Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (MNG-7372) Maven should display version info in case of error

2021-12-23 Thread Robert Scholte (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-7372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17464613#comment-17464613
 ] 

Robert Scholte commented on MNG-7372:
-

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.

 

> Maven should display version info in case of error
> --
>
> Key: MNG-7372
> URL: https://issues.apache.org/jira/browse/MNG-7372
> Project: Maven
>  Issue Type: Improvement
>Reporter: Robert Scholte
>Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (MNG-7372) Maven should display version info in case of error

2021-12-23 Thread Maarten Mulders (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-7372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17464571#comment-17464571
 ] 

Maarten Mulders commented on MNG-7372:
--

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.

> Maven should display version info in case of error
> --
>
> Key: MNG-7372
> URL: https://issues.apache.org/jira/browse/MNG-7372
> Project: Maven
>  Issue Type: Improvement
>Reporter: Robert Scholte
>Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (MNG-7372) Maven should display version info in case of error

2021-12-23 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-7372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17464564#comment-17464564
 ] 

Michael Osipov commented on MNG-7372:
-

What is wrong with the user to run {{mvn -v}}?

> Maven should display version info in case of error
> --
>
> Key: MNG-7372
> URL: https://issues.apache.org/jira/browse/MNG-7372
> Project: Maven
>  Issue Type: Improvement
>Reporter: Robert Scholte
>Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)