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

Options given in maven.config can not be overridden via command line

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • Command Line
    • None

    Description

      If you use the .mvn/maven.config and define for example -T 3 in it you will always use it if you run Maven. There is no possibility to change this except to change the .mvn/maven.config file. The expected behaviour would be simply to define options on command line like:

      mvn -T 1 clean package
      

      and those options from command line should have precedence over them in the .mvn/maven.config file.

      With the change in MNG-6076 you can overwrite properties from command lie.

      Attachments

        Issue Links

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              khmarbaise Karl Heinz Marbaise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: