Skip to content

Commit 2d8825a

Browse files
committed
configure git-commit-id-maven-plugin to include lightweight tags in describe
this is necessary because tags created via the github release page are lightweight instead of annotated the output of describe can be found in the generated META-INF/git.properties file
1 parent 7ee81bb commit 2d8825a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@
386386
<generateGitPropertiesFile>true</generateGitPropertiesFile>
387387
<generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
388388
<commitIdGenerationMode>full</commitIdGenerationMode>
389+
<!-- include lightweight tags in git describe (github release creates lightweight tags) -->
390+
<gitDescribe>
391+
<tags>true</tags>
392+
</gitDescribe>
389393
</configuration>
390394
</plugin>
391395
<plugin>

0 commit comments

Comments
 (0)