You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/02/23 16:38:00 UTC

[jira] [Updated] (MNG-6869) New flag to verify the status

     [ https://issues.apache.org/jira/browse/MNG-6869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MNG-6869:
--------------------------------
    Description: 
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}}


  was:
While working on INFRA-19861 we had issues with invalid the 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}}



> 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
>            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.3.4#803005)