[
https://jira.codehaus.org/browse/MNG-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338090#comment-338090
]
Robert Scholte commented on MNG-5528:
-------------------------------------
Well, AFAIK the text reflects actually what it does. If you try to use a
certain released version which isn't yet available in a (mirrored) remote
repository, Maven will remember this for an amount of time before trying to
resolve it again. The {{-U}} forces Maven the look again for the specific
artifact.
> Help text confuses people
> -------------------------
>
> Key: MNG-5528
> URL: https://jira.codehaus.org/browse/MNG-5528
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Command Line
> Affects Versions: 3.1.0
> Environment: any
> Reporter: Chris Erskine
> Priority: Minor
>
> When the 'mvn --help' command is used, the output for -U states "Forces a
> check for updated releases and snapshots on remote repositories". This
> confuses a lot of users into thinking that this option will update released
> versions of artifacts.
> Could this be changed to something like "Forces a check for updated snapshots
> on remote repositories"
> This would solve a number of problems that I have seen at different sites
> where people think they can patch a finally released artifact and it is
> updated in the local repository with the -U option.
> Updating the help text would then roll into documentation where the text is
> copied into it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira