Skip to content

Commit 87e98c2

Browse files
S Lktoso
authored andcommitted
Fix for #116 added abbrevLength to Readme and pom example config
1 parent 9311fe7 commit 87e98c2

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,16 @@ It's really simple to setup this plugin; below is a sample pom that you may base
200200
-->
201201
<forceLongFormat>false</forceLongFormat>
202202
</gitDescribe>
203+
204+
<!-- @since 2.1.1 -->
205+
<!--
206+
how many chars should be displayed as the commit object id?
207+
7 is git's default,
208+
0 has a special meaning (see end of this README.md),
209+
and 40 is the maximum value here
210+
HINT: controls the property git.commit.id.abbrev
211+
-->
212+
<abbrevLength>7</abbrevLength>
203213
</configuration>
204214

205215
</plugin>

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@
221221
<!--<dirty>-DEVEL</dirty>-->
222222
<!--<forceLongFormat>false</forceLongFormat>-->
223223
<!--</gitDescribe>-->
224-
224+
225+
<!--<abbrevLength>7</abbrevLength>-->
225226
<!--</configuration>-->
226227
<!--</plugin>-->
227228

0 commit comments

Comments
 (0)