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 2020/02/16 11:21:00 UTC
[jira] [Issue Comment Deleted] (MINVOKER-172) Settings MAVEN_OPTS
will prevent usage of invoker.mavenOpts in invoker properties
[ https://issues.apache.org/jira/browse/MINVOKER-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slawomir Jaranowski updated MINVOKER-172:
-----------------------------------------
Comment: was deleted
(was: As I see we have three source of mavenOpts
- system environment MAVEN_OPTS - sysEnv
- plugin configuration params mavenOpts - pluginConfig
- invoker.mavenOpts in invoker.properties file - invokerProperties
We also have special situation like "argLine" value setting by coverage detect tools, so I want to always propagate this value.
So we have matrix, and my proposition.
||sysEnv||pluginConfig||invokerProperties||use value||coments||
|not set|not set|not set|not set|clear|
|not set|not set|set|invokerProperties|clear|
|not set|set|not set|pluginConfig|clear|
|not set|set|set|pluginConfig + invokerProperties|proposition, break current implementation|
|set|not set|not set|sysEnv|clear|
|set|not set|set|sysEnv + invokerProperties|proposition|
|set|set|not set|sysEnv + pluginConfig|proposition|
|set|set|set|sysEnv + pluginConfig + invokerProperties|proposition|
By other way we can add next configuration params "mavenOptsSource", for this behavior with value which source should be use: eg list of enum values sysEnv, pluginConfig, invokerProperties
During realized this I have also proposition to implements @ \{ ... } syntax for maven properties like in surefire/failsafe plugin.
I'm waiting for comments , I can try implements this.)
> Settings MAVEN_OPTS will prevent usage of invoker.mavenOpts in invoker properties
> ---------------------------------------------------------------------------------
>
> Key: MINVOKER-172
> URL: https://issues.apache.org/jira/browse/MINVOKER-172
> Project: Maven Invoker Plugin
> Issue Type: Bug
> Affects Versions: 1.9
> Reporter: Karl Heinz Marbaise
> Priority: Minor
>
> If i set MAVEN_OPTS with things like {{export MAVEN_OPTS="-Xmx1024m -Xms1024m -Djava.awt.headless=true"}} in my {{.mavenrc}} it prevents the usage of {{invoker.mavenOpts}} within a invoker.properties file.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)