File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,17 @@ It's really simple to setup this plugin; below is a sample pom that you may base
143143 <!-- true by default, controls whether the plugin will fail when no .git directory is found, when set to false the plugin will just skip execution -->
144144 <!-- @since 2.0.4 -->
145145 <failOnNoGitDirectory >false</failOnNoGitDirectory >
146-
146+
147+ <!-- @since v2.0.4 -->
148+ <!--
149+ Controls the length of the abbreviated git commit it (git.commit.id.abbrev)
150+
151+ Defaults to `7`.
152+ `0` carries the special meaning.
153+ Maximum value is `40`, because of max SHA-1 length.
154+ -->
155+ <abbrevLength >7</abbrevLength >
156+
147157 <!-- @since 2.1.8 -->
148158 <!--
149159 skip the plugin execution completely. This is useful for e.g. profile activated plugin invocations or
@@ -200,16 +210,6 @@ It's really simple to setup this plugin; below is a sample pom that you may base
200210 -->
201211 <forceLongFormat >false</forceLongFormat >
202212 </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 >
213213 </configuration >
214214
215215 </plugin >
You can’t perform that action at this time.
0 commit comments