jira-importer commented on issue #880: URL: https://github.com/apache/maven-scm/issues/880#issuecomment-2964630989
**[Mirko Friedenhagen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mfriedenhagen)** commented Hello, as can be seen in the traceback as well this seems to be a problem with upper and lower case of the drive letter. I checked out the release trunk and added some logging output to maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractScmCommitPhase.java@1295468 in `performCheckins`. Now I get: ``` [INFO] reactorProjects=[MavenProject: net.oneandone.testlinkjunit:tljunit-parent:3.0.2-SNAPSHOT @ c:\ws\testlink-junit2\pom.xml, MavenProject: net.oneandone.testlinkjunit:tljunit-surefire:3.0.2-SNAPSHOT @ C:\ws\testlink-junit2\tljunit-surefire\pom.xml, MavenProject: net.oneandone.testlinkjunit:tljunit-eclipse:3.0.2-SNAPSHOT @ C:\ws\testlink-junit2\tljunit-eclipse\pom.xml] [INFO] pomFiles=[c:\ws\testlink-junit2\pom.xml, C:\ws\testlink-junit2\tljunit-surefire\pom.xml, C:\ws\testlink-junit2\tljunit-eclipse\pom.xml] [INFO] workingDirectoryAsString=c:\ws\testlink-junit2 [INFO] workingDirectoryAsFile.getAbsolutePath()=c:\ws\testlink-junit2 [INFO] Executing: cmd.exe /X /C "git add -- pom.xml C:\ws\testlink-junit2\tljunit-surefire\pom.xml C:\ws\testlink-junit2\tljunit-eclipse\pom.xml" ``` As can be seen, the drive letter of the "main" reactor project (and it's POM) is lowercase, while the module poms come with an uppercase drive letter. This will break the correct stripping of the basedir later on in org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.addTarget(Commandline cl, List\<File> files) So maybe this could even be considered a bug in maven-core (or whoever collects the reactor projects) or `maven-scm-provider-gitexe` as it implements comparison using strings, see http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java?revision=1241330&view=markup line 46ff. :-). -- 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]
