We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf8a8f4 commit 015f8d8Copy full SHA for 015f8d8
src/main/java/se/bjurr/gitchangelog/plugin/SemanticVersionMojo.java
@@ -18,6 +18,9 @@
18
public class SemanticVersionMojo extends AbstractMojo {
19
@Component private MavenProject project;
20
21
+ @Parameter(property = "skip", required = false)
22
+ private Boolean skip;
23
+
24
@Parameter(
25
property = "updatePomWithCurrentSemanticVersionSuffixSnapshot",
26
required = false,
@@ -44,6 +47,11 @@ public class SemanticVersionMojo extends AbstractMojo {
44
47
45
48
@Override
46
49
public void execute() throws MojoExecutionException {
50
+ if (this.skip != null && this.skip == true) {
51
+ this.getLog().info("Skipping semantic version");
52
+ return;
53
+ }
54
55
try {
56
final GitChangelogApi gitChangelogApiBuilder = gitChangelogApiBuilder();
57
if (this.isSupplied(this.semanticMajorVersionPattern)) {
0 commit comments