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

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

    [ https://issues.apache.org/jira/browse/MWRAPPER-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697101#comment-17697101 ] 

Slawomir Jaranowski commented on MWRAPPER-99:
---------------------------------------------

Instead of copy and paste items from Maven distribution script I would prefer to call directly scripts from distribution, like was implemented in: MWRAPPER-61 

> 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
>            Priority: Minor
>
> 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)