Github user mwws commented on the issue: https://github.com/apache/flink/pull/2179 @greghogan Thanks so much for point this file out! In my case, `../../.git` file exists, so the `lookupGitDirectory` method direct return without smartly search the basePath directory hierarchy. https://github.com/ktoso/maven-git-commit-id-plugin/blob/v2.1.15/src/main/java/pl/project13/maven/git/GitDirLocator.java#L45 On the other hand, for most of people, `../../.git` doesn't exis, so the compile can work. Everything make sense now. And I think this RP is still a valid fix.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---