Skip to content

Commit 2ff6c55

Browse files
author
Thomas Arp
authored
Added property to skip from CLI
PR for git-commit-id#268
1 parent e87d2f5 commit 2ff6c55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/pl/project13/maven/git/GitCommitIdMojo.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public class GitCommitIdMojo extends AbstractMojo {
243243
* Set this to {@code 'true'} to skip plugin execution.
244244
* @since 2.1.8
245245
*/
246-
@Parameter(defaultValue = "false")
246+
@Parameter(property = "maven.gitcommitid.skip", defaultValue = "false")
247247
private boolean skip;
248248

249249
/**
@@ -821,4 +821,4 @@ public void useNativeGit(boolean useNativeGit) {
821821
public void setCommitIdGenerationMode(String commitIdGenerationMode){
822822
this.commitIdGenerationMode = commitIdGenerationMode;
823823
}
824-
}
824+
}

0 commit comments

Comments
 (0)