Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
SCM-807 JGit impl check-in fails unless the Maven project is in the working copy root
- Closed