We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c410ea8 commit 9f14c32Copy full SHA for 9f14c32
1 file changed
src/main/clojure/buildversion_plugin/mojo.clj
@@ -22,6 +22,9 @@
22
[project {:expression "${project}"
23
:required true
24
:readonly true}
25
+ base-dir {:expression "${basedir}"
26
+ :required true
27
+ :readonly true}
28
tstamp-format {:alias "tstampFormat"
29
:default "yyyyMMddHHmmss"
30
:typename "java.lang.String"}
@@ -33,7 +36,7 @@
33
36
34
37
;; Goal execution
35
38
(let [log-debug #(.debug log/*plexus-log* (str "[buildversion-plugin] " %))
- git-versions (git/infer-project-version "."
39
+ git-versions (git/infer-project-version base-dir
40
{:tstamp-format tstamp-format
41
:git-cmd (or git-cmd "git")
42
:debug-fn log-debug } )
0 commit comments