apache / apache/maven-wrapper

[MWRAPPER-110] The Maven 3.9 `MAVEN_ARGS` env var is not supported

Open
#248 7 comments 1 reaction 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
254
Forks
78
Avg merge
5h 26m
Merged PRs (30d)
2

Description

**[Dimitar Dimitrov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ddimitrov)** opened **[MWRAPPER-110](https://issues.apache.org/jira/browse/MWRAPPER-110?redirect=false)** and commented

If we specify arguments in `MAVEN_ARGS`, they are picked up automatically by `mvn`, but not by `mvnw`.

Please port this patch: https://github.com/apache/maven/pull/49

A workaround is to export an extra env variable `MAVEN_CONFIG` which is picked by `mvnw`

---

**Affects:** 3.2.0

**Issue Links:**
- [MWRAPPER-125](https://issues.apache.org/jira/browse/MWRAPPER-125) Make "only-script" the default wrapper
(_**"is fixed by"**_)

0 votes, 5 watchers

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.