Skip to content

Commit

Permalink
Fixes #276: set failOnNoGitDirectory property for git-commit-id-maven…
Browse files Browse the repository at this point in the history
…-plugin

Obviously release source zip files don't contain a .git directory, so
avoid failing the build in this case.
  • Loading branch information
mistmist authored and svanteschubert committed Jan 24, 2024
1 parent 6bb8419 commit abed4a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions odfdom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
<excludeProperties>
<excludeProperty>git.*.user.*</excludeProperty>
</excludeProperties>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<prefix>git</prefix>
<verbose>true</verbose>
<skipPoms>false</skipPoms>
Expand Down
1 change: 1 addition & 0 deletions validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
</execution>
</executions>
<configuration>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
</configuration>
</plugin>
Expand Down

0 comments on commit abed4a4

Please sign in to comment.