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

Add the options of maven.config at the beginning to make it possible to overwrite via command line

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      At the moment the reading of the .mvn/maven.config is handled that way that you can define for example a property into this file but it is not possible to overwrite a property via direct command line arguments.

      Scenario is related to MNG-5576 which makes it possible to define a property as a version. This can be done in .mvn/maven.config having a default value. But using this it is makes it impossible to change the property via command line call mvn -Drevision=XXX.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                khmarbaise Karl Heinz Marbaise
                Reporter:
                khmarbaise Karl Heinz Marbaise
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: