[ https://issues.apache.org/jira/browse/FLINK-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357512#comment-15357512 ]
ASF GitHub Bot commented on FLINK-4128: --------------------------------------- Github user greghogan commented on the issue: https://github.com/apache/flink/pull/2179 As I verify the merge can we check the author string ... currently showing "unknown <mao...@maowei-mobl.ccr.corp.intel.com>". > compile error about git-commit-id-plugin > ---------------------------------------- > > Key: FLINK-4128 > URL: https://issues.apache.org/jira/browse/FLINK-4128 > Project: Flink > Issue Type: Bug > Reporter: Mao, Wei > > When I build with latest flink code, I got following error: > {quote} > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 01:06 h > [INFO] Finished at: 2016-06-28T22:11:58+08:00 > [INFO] Final Memory: 104M/3186M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > pl.project13.maven:git-commit-id-plugin:2.1.5:revision (default) on project > flink-runtime_2.11: Execution default of goal > pl.project13.maven:git-commit-id-plugin:2.1.5:revision failed. > NullPointerException -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :flink-runtime_2.11 > {quote} > I think it's because wrong `doGetDirectory` value is provided. > And another question is if we should upgrade the version of this plugin, so > that we can got more meaningful error message instead of NPE. Eg: > {quote} > Could not get HEAD Ref, are you sure you have some commits in the > dotGitDirectory? > {quote} > Current stable version is 2.2.1, but the disadvantage is that Java 1.6 is no > longer supported with new version. -- This message was sent by Atlassian JIRA (v6.3.4#6332)