| Summary: | Maven run launchers do not respect MAVEN_OPTS environment variable | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Ricardo Gladwell <ricardo> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | igor |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
closing old/stale bugreports |
Build Identifier: The Maven run launchers do not respect MAVEN_OPTS environment variable used by the bash mvn scripts or mvn.bat scripts. This is the standard way to pass Java options to the JVM running the mvn shell so it would be nice if you didn't have to set it twice, once as an environment variable and again as the "${env_var:MAVEN_OPTS}" VM Argument in the JRE tab of the Maven run launcher configuration dialog. Reproducible: Always Steps to Reproduce: 1. Set MAVEN_OPTS environment variable 2. In Eclipse select Project -> Right Click -> Run As... -> Maven build Should automatically add ${env_var:MAVEN_OPTS} to run launcher configuration.