Piotr Karwasz opened MWRAPPER-99 and commented
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).
Affects: 3.1.1
Issue Links:
-
MWRAPPER-61 let mvnw call mvn directly, without maven-wrapper.jar
-
MWRAPPER-125 Make "only-script" the default wrapper
-
MWRAPPER-45 Migrate/Sync startup scripts with Maven 4
Piotr Karwasz opened MWRAPPER-99 and commented
Starting with Maven 3.9.0 the
mvn/mvn.cmdscripts support aMAVEN_ARGSenvironment variable that can be used to pass additional arguments to Maven (cf. documentation).The (undocumented?)
MAVEN_CONFIGvariable plays the same role in themvnw/mvnw.cmdscripts.Maven Wrapper should probably switch to
MAVEN_ARGSas variable name (maintaining backward compatibility).Affects: 3.1.1
Issue Links:
MWRAPPER-61 let mvnw call mvn directly, without maven-wrapper.jar
MWRAPPER-125 Make "only-script" the default wrapper
MWRAPPER-45 Migrate/Sync startup scripts with Maven 4