Uploaded image for project: 'Maven Wrapper'
  1. Maven Wrapper
  2. MWRAPPER-99

Support MAVEN_ARGS environment variable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.1
    • None
    • None
    • None

    Description

      Starting with Maven 3.9.0 the mvn/mvn.cmd scripts support a MAVEN_ARGS environment variable that can be used to pass additional arguments to Maven (cf. documentation).

      The (undocumented?) MAVEN_CONFIG variable plays the same role in the mvnw/mvnw.cmd scripts.

      Maven Wrapper should probably switch to MAVEN_ARGS as variable name (maintaining backward compatibility).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkarwasz Piotr Karwasz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: