You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Piotr Karwasz (Jira)" <ji...@apache.org> on 2023/03/06 16:24:00 UTC

[jira] [Created] (MWRAPPER-99) Support MAVEN_ARGS environment variable

Piotr Karwasz created MWRAPPER-99:
-------------------------------------

             Summary: Support MAVEN_ARGS environment variable
                 Key: MWRAPPER-99
                 URL: https://issues.apache.org/jira/browse/MWRAPPER-99
             Project: Maven Wrapper
          Issue Type: Improvement
    Affects Versions: 3.1.1
            Reporter: Piotr Karwasz


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|https://maven.apache.org/configure.html]).

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).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)