Hi all,

digging a bit deeper I found that it would not cause problems in case of a 
source bundle, as there is this setting:

<failOnNoGitDirectory>false</failOnNoGitDirectory>

I assume that the worktree support does some strange things that this plugin 
doesn’t operate with correctly. So I added this setting:

<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>

And that solved the issue for me.


Chris

Von: Christofer Dutz <christofer.d...@c-ware.de>
Datum: Donnerstag, 18. April 2024 um 14:32
An: dev@iotdb.apache.org <dev@iotdb.apache.org>
Betreff: Potential problem with the git-commit-id-plugin in node-commons
Hi all,

I was playing around with the new IntelliJ Worktree support (Checking out 
multiple versions of the same project) and got a failure in node-commons.

Having a deeper look at it, it seems that the build requires iotdb to be a git 
repository.

While this is true for regularly checked-out code, it would not work when 
building IoTDB from a source bundle downloaded from Apache.

I think we shouldn’t require such a plugin in our build. What is it used for 
anyway?

Chris

Reply via email to