use properties file of git-commit-id-maven-plugin so we don't need to filter resources

This commit is contained in:
Athou
2024-01-09 14:53:13 +01:00
parent 9ede8d1c46
commit 6e0e99694e
3 changed files with 17 additions and 13 deletions

View File

@@ -31,12 +31,6 @@
<build>
<finalName>commafeed</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
@@ -69,7 +63,8 @@
</execution>
</executions>
<configuration>
<generateGitPropertiesFile>false</generateGitPropertiesFile>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
</configuration>