Full name:
com.github.koraktor:mavanagaiata:1.0.1:check
Description:
The following checks are available:
Attributes:
0.8.0
.validate
.Name | Type | Since | Description |
---|---|---|---|
<baseDir> |
File |
- |
The working tree of the Git repository.
If there is only one project inside the Git repository this is probably Note: The Default value is: ${project.basedir} .User property is: mavanagaiata.baseDir . |
<checkBranch> |
String |
- |
Check whether the current branch is the given branch User property is: mavanagaiata.checkBranch . |
<checkClean> |
boolean |
- |
Check if the working directory is clean Default value is: true .User property is: mavanagaiata.checkClean . |
<checkCommitMessage> |
String |
- |
Check whether the message of the current commit matches the given format User property is: mavanagaiata.checkCommitMessage . |
<checkTag> |
boolean |
- |
Check whether the current commit is tagged Default value is: false .User property is: mavanagaiata.checkTag . |
<dateFormat> |
String |
- |
The date format to use for various dates Default value is: MM/dd/yyyy hh:mm a Z .User property is: mavanagaiata.dateFormat . |
<dirtyFlag> |
String |
0.4.0 |
The flag to append to refs if there are changes in the index or working tree
Setting this to either Default value is: -dirty .User property is: mavanagaiata.dirtyFlag . |
<dirtyIgnoreUntracked> |
boolean |
0.5.0 |
Specifies if the dirty flag should also be appended if there are untracked files
If Warning: Do not enable this if builds should be reproducible. Default value is: false .User property is: mavanagaiata.dirtyIgnoreUntracked . |
<failGracefully> |
boolean |
0.6.0 |
Specifies if a failed execution of the mojo will stop the build process
If Default value is: false .User property is: mavanagaiata.failGracefully . |
<gitDir> |
File |
- |
The GIT_DIR path of the Git repository
Warning: Do not set this when you don't have a good reason to do so. The User property is: mavanagaiata.gitDir . |
<head> |
String |
- |
The commit or ref to use as starting point for operations Default value is: HEAD .User property is: mavanagaiata.head . |
<propertyPrefixes> |
String[] |
- |
The prefixes to prepend to property keys Default value is: mavanagaiata,mvngit .User property is: mavanagaiata.propertyPrefixes . |
<skip> |
boolean |
0.5.0 |
Skip the plugin execution Default value is: false .User property is: mavanagaiata.skip . |
<skipNoGit> |
boolean |
0.5.0 |
Skip the plugin execution if not inside a Git repository Default value is: false .User property is: mavanagaiata.skipNoGit . |
If there is only one project inside the Git repository this is probably ${project.basedir
} (default).
Note: The GIT_DIR
can be found automatically even if this is not the real working tree but one of its subdirectories. But Mavanagaiata cannot determine the state of the working tree (e.g. for the dirty flag) if this is not set correctly.
java.io.File
No
mavanagaiata.baseDir
${project.basedir}
java.lang.String
No
mavanagaiata.checkBranch
boolean
No
mavanagaiata.checkClean
true
java.lang.String
No
mavanagaiata.checkCommitMessage
boolean
No
mavanagaiata.checkTag
false
java.lang.String
No
mavanagaiata.dateFormat
MM/dd/yyyy hh:mm a Z
Setting this to either "false"
or "null"
will disable flagging refs as dirty.
java.lang.String
0.4.0
No
mavanagaiata.dirtyFlag
-dirty
If false
only modified files that are already known to Git will cause the dirty flag to be appended.
Warning: Do not enable this if builds should be reproducible.
boolean
0.5.0
No
mavanagaiata.dirtyIgnoreUntracked
false
If true
a failure during mojo execution will not stop the build process.
boolean
0.6.0
No
mavanagaiata.failGracefully
false
GIT_DIR
path of the Git repository
Warning: Do not set this when you don't have a good reason to do so. The GIT_DIR
can be found automatically if your project resides somewhere in a usual Git repository.
java.io.File
No
mavanagaiata.gitDir
java.lang.String
No
mavanagaiata.head
HEAD
java.lang.String[]
No
mavanagaiata.propertyPrefixes
mavanagaiata,mvngit
boolean
0.5.0
No
mavanagaiata.skip
false
boolean
0.5.0
No
mavanagaiata.skipNoGit
false