Skip to content

Commit

Permalink
update git-commit-id-plugin to speed up git execution by using specif…
Browse files Browse the repository at this point in the history
…ic properties instead of all which makes the execution slow
  • Loading branch information
wildone committed Jan 3, 2021
1 parent 9ccfded commit d3a8ae9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
<!--<match>__null__</match>-->
<!--<tags>false</tags>-->
</gitDescribe>
<includeOnlyProperties>
<includeOnlyProperty>^git.closest.tag.name$</includeOnlyProperty>
<includeOnlyProperty>^git.closest.tag.commit.count$</includeOnlyProperty>
</includeOnlyProperties>
</configuration>
</plugin>

Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,10 @@
<!--<match>__null__</match>-->
<!--<tags>true</tags>-->
</gitDescribe>
<includeOnlyProperties>
<includeOnlyProperty>^git.closest.tag.name$</includeOnlyProperty>
<includeOnlyProperty>^git.closest.tag.commit.count$</includeOnlyProperty>
</includeOnlyProperties>
</configuration>
</plugin>

Expand Down

0 comments on commit d3a8ae9

Please sign in to comment.