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

Gregory Hart commented on MNG-7796:
-----------------------------------

It seems related to [JDK-8172711|https://bugs.openjdk.org/browse/JDK-8172711] 
where Path.getRealPath() throws an exception when the path is on a docker 
volume inside a Windows guest. Maybe the call to Path.getRealPath() could be 
replaced with Path.normalize()?

> Top directory cannot be computed
> --------------------------------
>
>                 Key: MNG-7796
>                 URL: https://issues.apache.org/jira/browse/MNG-7796
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.9.2
>         Environment: Windows Server Core 2016 guest running inside a docker 
> container on a Windows Server 2016 EC2 machine
>            Reporter: Gregory Hart
>            Priority: Major
>
> When running Maven it exits immediately with return code 1 after writing 
> "Error computing real path" to the console.
> Here is the full console output:
> {noformat}
> Error computing real path from 
> C:\Users\Administrator\jenkins\workspace\myproject_release_1.0\src\myproject\src:
>  
> C:\Users\Administrator\jenkins\workspace\myproject_release_1.0\src\myproject\src{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to