You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/faq.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,17 @@
1
1
Frequently Asked Question (FAQ)
2
2
=========
3
3
4
+
Plugin options and configurations
5
+
-------------------------------
6
+
This plugin is around for quite some time and has various options and configurations.
7
+
The most up-to-date documentation about the various options can be found in the [plugin itself](https://github.com/git-commit-id/git-commit-id-maven-plugin/blob/master/src/main/java/pl/project13/maven/git/GitCommitIdMojo.java#L105).
8
+
9
+
On top of the various options that can be configured in the `pom.xml` the plugin has the following command-line arguments:
10
+
*`-Dmaven.gitcommitid.skip=true` - skip the plugin execution
11
+
*`-Dmaven.gitcommitid.nativegit=true` - by default this plugin will use the `jgit` implementation to interact with your git repository, specify this command-line option to use the native `git` binary instead
12
+
Note that all command-line options can also be configured in the `pom.xml`.
13
+
14
+
4
15
Generated properties are not usable inside the pom / properties don't get exposed by the plugin
5
16
-------------------------------
6
17
Since version `2.1.4` there is a switch to control if you want the plugin to expose the generated properties to your pom as well.
0 commit comments