[ 
https://issues.apache.org/jira/browse/MINVOKER-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256005#comment-17256005
 ] 

Markus Karg commented on MINVOKER-273:
--------------------------------------

At least on Windows it is impossible to store null in env vars. According to 
Windows API description doing so will remove the variable from the environment. 
Can other OS experts confirm that this is the same on Linux, MacOS, etc? If so, 
I would be +1 for fixing this issue.

> Environment variable with empty value
> -------------------------------------
>
>                 Key: MINVOKER-273
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-273
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>            Reporter: Slawomir Jaranowski
>            Priority: Major
>
> When we configure invoker with empty environment value, like:
> {code}
>  <plugin>
>                         <groupId>org.apache.maven.plugins</groupId>
>                         <artifactId>maven-invoker-plugin</artifactId>
>                         <configuration>
>                             <environmentVariables>
>                                 <EMPTY_ENV/>
>                             </environmentVariables>
>                         </configuration>
> {code}
> Testing code will receive variable {{EMPTY_ENV}} with value {{"null"}} as 
> string.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to