Skip to content

Commit 851a62a

Browse files
committed
Adding skip option #12
1 parent 0db3b23 commit 851a62a

12 files changed

+97
-0
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Unreleased
6+
### No issue
7+
8+
**Create FUNDING.yml**
9+
10+
11+
[0db3b2367e4adc5](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/0db3b2367e4adc5) Tomas Bjerre *2019-09-28 07:06:15*
12+
13+
514
## 1.60
615
### No issue
716

git-changelog-maven-plugin-example/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Unreleased
6+
### No issue
7+
8+
**Create FUNDING.yml**
9+
10+
11+
[0db3b2367e4adc5](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/0db3b2367e4adc5) Tomas Bjerre *2019-09-28 07:06:15*
12+
13+
514
## 1.60
615
### No issue
716

git-changelog-maven-plugin-example/CHANGELOG_custom.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Unreleased
6+
### No issue /
7+
Create FUNDING.yml
8+
9+
10+
511
## git-changelog-maven-plugin-1.60
612
### No issue /
713
Removing dependency on javax.xml

git-changelog-maven-plugin-example/CHANGELOG_ignoreCommitsOlderThan.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Unreleased
6+
### No issue
7+
Create FUNDING.yml *2019-09-28 07:06:15*
8+
9+
10+
511
## git-changelog-maven-plugin-1.60
612
### No issue
713
Removing dependency on javax.xml *2019-06-11 17:06:29*

git-changelog-maven-plugin-example/CHANGELOG_inline.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Unreleased
6+
### No issue
7+
8+
[0db3b2367e4adc5](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/0db3b2367e4adc5) Tomas Bjerre *2019-09-28 07:06:15*
9+
10+
Create FUNDING.yml
11+
12+
513
## git-changelog-maven-plugin-1.60
614
### No issue
715

git-changelog-maven-plugin-example/CHANGELOG_jira.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Unreleased
6+
### No issue
7+
8+
**Create FUNDING.yml**
9+
10+
11+
[0db3b2367e4adc5](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/0db3b2367e4adc5) Tomas Bjerre *2019-09-28 07:06:15*
12+
13+
514
## 1.60
615
### No issue
716

git-changelog-maven-plugin-example/CHANGELOG_minimal.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Unreleased
6+
### No issue
7+
8+
**Create FUNDING.yml**
9+
10+
11+
[0db3b2367e4adc5](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/0db3b2367e4adc5) Tomas Bjerre *2019-09-28 07:06:15*
12+
13+
514
## git-changelog-maven-plugin-1.60
615
### No issue
716

git-changelog-maven-plugin-example/CHANGELOG_mixed.md

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Fix fromCommit and fromRef property typo *21:11:26*
6060

6161

6262
### These commits have not issue in their commit comment
63+
Create FUNDING.yml *07:06:15*
64+
6365
Removing dependency on javax.xml *17:06:29*
6466

6567
OpenJDK 11 compatible *16:38:05*

git-changelog-maven-plugin-example/CHANGELOG_settings.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Next release
6+
### Other changes
7+
8+
**Create FUNDING.yml**
9+
10+
11+
[0db3b2367e4adc5](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/0db3b2367e4adc5) Tomas Bjerre *2019-09-28 07:06:15*
12+
13+
514
## 1.60
615
### Other changes
716

git-changelog-maven-plugin-example/CHANGELOG_templatefile.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
Changelog of Git Changelog Maven plugin.
44

5+
## Unreleased
6+
### No issue
7+
8+
**Create FUNDING.yml**
9+
10+
11+
[0db3b2367e4adc5](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/0db3b2367e4adc5) Tomas Bjerre *2019-09-28 07:06:15*
12+
13+
514
## 1.60
615
### No issue
716

git-changelog-maven-plugin-example/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@
3232
</execution>
3333

3434

35+
<!-- Skipping // -->
36+
<execution>
37+
<id>GenerateGitChangelogSkip</id>
38+
<phase>generate-sources</phase>
39+
<goals>
40+
<goal>git-changelog</goal>
41+
</goals>
42+
<configuration>
43+
<file>CHANGELOG_skipped.md</file>
44+
<skip>true</skip>
45+
</configuration>
46+
</execution>
47+
48+
3549
<!-- Settings from file // -->
3650
<execution>
3751
<id>GenerateGitChangelogSettings</id>

src/main/java/se/bjurr/gitchangelog/plugin/GitChangelogMojo.java

+7
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,15 @@ public class GitChangelogMojo extends AbstractMojo {
119119
@Parameter(property = "customIssues", required = false)
120120
private List<CustomIssue> customIssues;
121121

122+
@Parameter(property = "skip", required = false)
123+
private Boolean skip;
124+
122125
@Override
123126
public void execute() throws MojoExecutionException {
127+
if (skip != null && skip == true) {
128+
getLog().info("Skipping changelog generation");
129+
return;
130+
}
124131
try {
125132
GitChangelogApi builder;
126133
builder = gitChangelogApiBuilder();

0 commit comments

Comments
 (0)