Package pl.project13.maven.git
Class GitCommitIdMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- pl.project13.maven.git.GitCommitIdMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="revision", defaultPhase=INITIALIZE, threadSafe=true) public class GitCommitIdMojo extends org.apache.maven.plugin.AbstractMojoPuts git build-time information into property files or maven's properties.- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.regex.PatternallowedCharactersForEvaluateOnCommitThe plugin allows to specify branch/tag/commit used when finding 'HEAD'.
-
Constructor Summary
Constructors Constructor Description GitCommitIdMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Field Detail
-
allowedCharactersForEvaluateOnCommit
protected static final java.util.regex.Pattern allowedCharactersForEvaluateOnCommit
The plugin allows to specify branch/tag/commit used when finding 'HEAD'. However we don't want the users to enter everything here and thus allow only the following subset. See https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/338 for further information
-
-