You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:02 UTC
[jira] [Updated] (MNG-7206) Properly prioritize JVM options from MAVEN_OPTS and jvm.config
[ https://issues.apache.org/jira/browse/MNG-7206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated MNG-7206:
---------------------------------
Fix Version/s: 4.0.0-alpha-2
> Properly prioritize JVM options from MAVEN_OPTS and jvm.config
> --------------------------------------------------------------
>
> Key: MNG-7206
> URL: https://issues.apache.org/jira/browse/MNG-7206
> Project: Maven
> Issue Type: Task
> Components: Command Line
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> We currently have two ways of settings options with the JVM:
> 1. {{MAVEN_OPTS}}
> 2. {{.mvn/jvm.config}}
> We should correctly implement and document priority of those two.
> If we go from general to specific, a generic option shall be overridable (if possible) with a specific one. Thus, first {{MAVEN_OPTS}} is evaluated then {{jvm.config}} since the former applies to all executions while the latter applies to a specific project.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)