Disable Maven git plugin when .git directory is absent. Closes #2047

This commit is contained in:
Antonin Delpeuch 2019-05-31 08:24:06 +01:00
parent 203cf8c20e
commit 605d89641d

View File

@ -247,6 +247,7 @@
<verbose>false</verbose> <verbose>false</verbose>
<generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<format>json</format> <format>json</format>
<gitDescribe> <gitDescribe>
<skip>false</skip> <skip>false</skip>