Skip to content
Permalink
Browse files
HBASE-23033 Do not run git-commit-id-plugin when .git is missing (#36)
Signed-off-by: Michael Stack <stack@apache.org>
  • Loading branch information
petersomogyi committed Sep 16, 2019
1 parent eb0789f commit 01aefd66538d3ed3460a1e87f4b7a82cfc2baf38
Showing 1 changed file with 5 additions and 2 deletions.
@@ -116,21 +116,24 @@
<goals>
<goal>revision</goal>
</goals>
<!-- *NOTE*: The default phase of revision is initialize, but in case you want to change it, you can do so by adding the phase here -->
<!-- *NOTE*: The default phase of revision is initialize, but in case you want to change
it, you can do so by adding the phase here -->
<phase>initialize</phase>
</execution>
<execution>
<id>validate-the-git-infos</id>
<goals>
<goal>validateRevision</goal>
</goals>
<!-- *NOTE*: The default phase of validateRevision is verify, but in case you want to change it, you can do so by adding the phase here -->
<!-- *NOTE*: The default phase of validateRevision is verify, but in case you want to
change it, you can do so by adding the phase here -->
<phase>package</phase>
</execution>
</executions>
<configuration>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
<commitIdGenerationMode>flat</commitIdGenerationMode>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
</configuration>
</plugin>
<plugin>

0 comments on commit 01aefd6

Please sign in to comment.