[ https://issues.apache.org/jira/browse/MNG-6869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692691#comment-17692691 ]
ASF GitHub Bot commented on MNG-6869: ------------------------------------- mthmulders commented on PR #995: URL: https://github.com/apache/maven/pull/995#issuecomment-1441842039 > 1. not deliver it by default That would completely defy the utility and value of this feature. I do want a clean Maven installation to be able to do a few basic checks. That is exactly the idea as laid out in [MNG-6869](https://issues.apache.org/jira/browse/MNG-6869), if you ask me. Anything that requires a separate download (a plugin, or a helper script, or extension, or ....) and we do not ship with Apache Maven itself is completely opposite to the original idea, and would therefore be a `-1` from me. > 2. not add specific options by default I'm sorry, I don't understand what you mean here. > 3. not make it grow to actually validate the installation completely and properly (if it becomes a feature the impl must be way more complex) If it were to become much bigger, we could always move it out later. As long as we can ship it with Apache Maven by default (see point 1). > New flag to verify the status > ----------------------------- > > Key: MNG-6869 > URL: https://issues.apache.org/jira/browse/MNG-6869 > Project: Maven > Issue Type: New Feature > Reporter: Robert Scholte > Assignee: Maarten Mulders > Priority: Major > > While working on INFRA-19861 we had issues with invalid changes in the > settings.xml. > This was detected too late. After installation {{mvn --version}} is called, > but it will only show the version of Maven. > It would be better to have a flag that verifies it a bit more: > - can Maven read/write to the local repository > - can Maven access all predefined repositories? (does the proxy work?) > This gives a much better feedback if Maven can do its job. > Current workaround: call something like {{mvn help:evaluate > -Dexpression=settings.localRepository -q -DforceStdout}} -- This message was sent by Atlassian Jira (v8.20.10#820010)