Florian Wilhelm created MNG-6880:
------------------------------------
Summary: Maven creates `?/m2` dir in pwd if run in Docker image
with custom UID
Key: MNG-6880
URL: https://issues.apache.org/jira/browse/MNG-6880
Project: Maven
Issue Type: Bug
Environment: Docker
Reporter: Florian Wilhelm
Hi,
I'm not sure if this is a bug, but I consider the result problematic. What
happens is that if you run maven in a Docker container with a custom UID (1000
in our case), the value of the system property user.home is ? which leads to
maven creating a m2 dir in the current working directory. I've created a
reproducer here https://github.com/fwilhe/mvn-user-home-repro
--
This message was sent by Atlassian Jira
(v8.3.4#803005)