jira-importer opened a new issue, #1217: URL: https://github.com/apache/maven-scm/issues/1217
**[Enrico Horn](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER290262)** opened **[SCM-990](https://issues.apache.org/jira/browse/SCM-990?redirect=false)** and commented The JGit providers info command (and probably others) uses fielset.basedir as git working directory. When running maven command in a submodule this will result in the following error: Cannot get the revision information from the scm repository : [ERROR] Exception while executing SCM command. JGit resolve failure! repository not found: \<submodule folder> What it should do instead is act like the git binary and search for the git directory in parent directories if none found in the current one. Jgit has the API FileRepositoryBuilder.findGitDir to do that. --- **Issue Links:** - [SCM-807](https://issues.apache.org/jira/browse/SCM-807) JGit impl check-in fails unless the Maven project is in the working copy root (_**"duplicates"**_) -- 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]
