Frequently Asked Questions
General
General
- Can the plugin be used on a project without an SCM connection?
-
Yes, set the plugin parameter
<revisionOnScmFailure>
to prevent the plugin from throwing an exception if SCM information is not found.
The other option is to use
Default is git-Dmaven.buildNumber.ignoreEmptyScmUrl=true -Dmaven.buildNumber.scmProvider=git/svn/