jira-importer commented on issue #1149:
URL: https://github.com/apache/maven-scm/issues/1149#issuecomment-2964648718

   **[Alex 
Harui](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=aharui)** 
commented
   
   Actually, I am still having this problem, there was just more to it than I 
thought.
   
   The root cause, IMO, is that the fileset passed into JGitUtils.java's 
addAllFiles by the Maven Release Plugin when updating pom versions (on Windows 
Server) seems to contain "c:\path\to\repo\pom.xml" for the root pom, but 
"C:\path\to\repo\submodule\pom.xml" for the submodules.  Note the lowercase 'c' 
for the root pom.xml and uppercase 'C' for the submodules.
   
   Then in JGitUtils.relativize, the call to java.net.URI's relativize works 
for uppercase 'C' but not lowercase 'c'.  
   
   I was wrong when I said I was no longer having this problem as the fileset I 
was working with recently did not have any files from the repo root because I 
was working on the scenario in SCM-932.
   
   I am going to try to find out why a lowercase 'c' is being passed in in the 
first place.
   


-- 
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