jira-importer commented on issue #565:
URL: 
https://github.com/apache/maven-invoker-plugin/issues/565#issuecomment-2957802179

   **[James 
Nord](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jnord_cbs)** 
commented
   
   I ran into this situation again today and tracked down the cause.
   
   One of my terminal profiles was set to start in 'c:\.....'  and this is 
where the lower case drive letter comes from.
   
   ```
   jshell> new java.io.File(".")
   $1 ==> .
   
   jshell> $1.getAbsolutePath()
   $2 ==> "c:\\Users\\jnord\\."
   
   jshell> $1.getCanonicalPath()
   $3 ==> "C:\\Users\\jnord"
   ```
   
   So no munging was happening - just paths being used that where not 
canonical. (because `${baseDir`} itself was not canonical, due to the fact the 
CWD was also not canonical)
   
   What threw me was that somewhere something in `mvn install` etc must be 
perfoming canonicalization.
   
   Sorry for the noise
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to