Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8237

Option deprecation notices cleanup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.0-beta-4
    • 4.0.0-beta-5
    • None
    • None

    Description

      When I run a build with the deprecated global-setting option I'm told four times about it

      $ ./mvnw validate -N --global-settings ~/.m2/settings.xml
      Option 'gs''global-settings': Deprecated
      Option 'gs''global-settings': Deprecated
      Option 'gs''global-settings': Deprecated
      Option 'gs''global-settings': Deprecated

      The documentation from

      ./mvnw --help

      however does not mention this

       -gs,--global-settings <arg>                       Alternate path for the global settings file

      It could rather be

       -gs,--global-settings <arg>                       <deprecated> Alternate path for the global settings file

       

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              delany Delany
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: