Skip to content

Commit a59bfa7

Browse files
committed
fix: npe
1 parent fa549f8 commit a59bfa7

11 files changed

+263
-3
lines changed

CHANGELOG.md

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

33
Changelog of git-changelog-maven-plugin.
44

5+
## 1.91 (2022-04-03)
6+
7+
8+
9+
### Features
10+
11+
- new variable urlParts ([79a02](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/79a02f9814bff36) Tomas Bjerre)
12+
13+
14+
15+
16+
17+
## 1.90 (2022-03-31)
18+
19+
20+
21+
### Features
22+
23+
- prependToFile ([f6e76](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/f6e7642a26fa114) Tomas Bjerre) [#41](https://github.com/tomasbjerre/git-changelog-maven-plugin/issues/41)
24+
25+
26+
27+
28+
529
## 1.89 (2022-03-26)
630

731

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

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

33
Changelog of git-changelog-maven-plugin.
44

5+
## 1.91 (2022-04-03)
6+
7+
8+
9+
### Features
10+
11+
- new variable urlParts ([79a02](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/79a02f9814bff36) Tomas Bjerre)
12+
13+
14+
15+
16+
17+
## 1.90 (2022-03-31)
18+
19+
20+
21+
### Features
22+
23+
- prependToFile ([f6e76](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/f6e7642a26fa114) Tomas Bjerre) [#41](https://github.com/tomasbjerre/git-changelog-maven-plugin/issues/41)
24+
25+
26+
27+
28+
529
## 1.89 (2022-03-26)
630

731

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

+20
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ Changelog of Git Changelog Maven plugin.
88

99

1010

11+
## git-changelog-maven-plugin-1.91
12+
### No issue /
13+
[maven-release-plugin] prepare release git-changelog-maven-plugin-1.91
14+
15+
feat: new variable urlParts
16+
17+
[maven-release-plugin] prepare for next development iteration
18+
19+
20+
21+
## git-changelog-maven-plugin-1.90
22+
### No issue /
23+
[maven-release-plugin] prepare release git-changelog-maven-plugin-1.90
24+
25+
feat: prependToFile (refs #41)
26+
27+
[maven-release-plugin] prepare for next development iteration
28+
29+
30+
1131
## git-changelog-maven-plugin-1.89
1232
### No issue /
1333
[maven-release-plugin] prepare release git-changelog-maven-plugin-1.89

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

+21-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,27 @@ Changelog of Git Changelog Maven plugin.
44

55
## Unreleased
66
### No issue
7-
[maven-release-plugin] prepare for next development iteration *2022-03-26 05:53:09*
7+
[maven-release-plugin] prepare for next development iteration *2022-04-03 10:20:09*
8+
9+
10+
11+
## git-changelog-maven-plugin-1.91
12+
### No issue
13+
[maven-release-plugin] prepare release git-changelog-maven-plugin-1.91 *2022-04-03 10:19:19*
14+
15+
feat: new variable urlParts *2022-04-03 10:18:24*
16+
17+
[maven-release-plugin] prepare for next development iteration *2022-03-31 15:48:41*
18+
19+
20+
21+
## git-changelog-maven-plugin-1.90
22+
### No issue
23+
[maven-release-plugin] prepare release git-changelog-maven-plugin-1.90 *2022-03-31 15:47:48*
24+
25+
feat: prependToFile (refs #41) *2022-03-31 15:46:01*
26+
27+
[maven-release-plugin] prepare for next development iteration *2022-03-26 05:53:50*
828

929

1030

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Changelog of Git Changelog Maven plugin.
55
## Unreleased
66
### No issue
77

8-
[3f57d49aece90d7](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/3f57d49aece90d7) Tomas Bjerre *2022-04-03 10:19:25*
8+
[fa549f821bcef96](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/fa549f821bcef96) Tomas Bjerre *2022-04-03 10:20:09*
99

1010
[maven-release-plugin] prepare for next development iteration
1111

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

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

33
Changelog of git-changelog-maven-plugin.
44

5+
## 1.91 (2022-04-03)
6+
7+
8+
9+
### Features
10+
11+
- new variable urlParts ([79a02](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/79a02f9814bff36) Tomas Bjerre)
12+
13+
14+
15+
16+
### Other changes
17+
18+
**[maven-release-plugin] prepare release git-changelog-maven-plugin-1.91**
19+
20+
21+
[e5f36](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/e5f3623a7d37452) Tomas Bjerre *2022-04-03 10:19:19*
22+
23+
**[maven-release-plugin] prepare for next development iteration**
24+
25+
26+
[25957](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/2595798105e330f) Tomas Bjerre *2022-03-31 15:48:41*
27+
28+
29+
## 1.90 (2022-03-31)
30+
31+
32+
33+
### Features
34+
35+
- prependToFile ([f6e76](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/f6e7642a26fa114) Tomas Bjerre) [#41](https://github.com/tomasbjerre/git-changelog-maven-plugin/issues/41)
36+
37+
38+
39+
40+
### Other changes
41+
42+
**[maven-release-plugin] prepare release git-changelog-maven-plugin-1.90**
43+
44+
45+
[95362](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/95362de14fc461c) Tomas Bjerre *2022-03-31 15:47:48*
46+
47+
**[maven-release-plugin] prepare for next development iteration**
48+
49+
50+
[d22ec](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/d22ecc7fee29b2d) Tomas Bjerre *2022-03-26 05:53:50*
51+
52+
553
## 1.89 (2022-03-26)
654

755

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

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

33
Changelog of git-changelog-maven-plugin.
44

5+
## git-changelog-maven-plugin-1.91 (2022-04-03)
6+
7+
8+
9+
### Features
10+
11+
- new variable urlParts ([79a02](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/79a02f9814bff36) Tomas Bjerre)
12+
13+
14+
15+
16+
### Other changes
17+
18+
**[maven-release-plugin] prepare release git-changelog-maven-plugin-1.91**
19+
20+
21+
[e5f36](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/e5f3623a7d37452) Tomas Bjerre *2022-04-03 10:19:19*
22+
23+
**[maven-release-plugin] prepare for next development iteration**
24+
25+
26+
[25957](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/2595798105e330f) Tomas Bjerre *2022-03-31 15:48:41*
27+
28+
29+
## git-changelog-maven-plugin-1.90 (2022-03-31)
30+
31+
32+
33+
### Features
34+
35+
- prependToFile ([f6e76](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/f6e7642a26fa114) Tomas Bjerre) [#41](https://github.com/tomasbjerre/git-changelog-maven-plugin/issues/41)
36+
37+
38+
39+
40+
### Other changes
41+
42+
**[maven-release-plugin] prepare release git-changelog-maven-plugin-1.90**
43+
44+
45+
[95362](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/95362de14fc461c) Tomas Bjerre *2022-03-31 15:47:48*
46+
47+
**[maven-release-plugin] prepare for next development iteration**
48+
49+
50+
[d22ec](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/d22ecc7fee29b2d) Tomas Bjerre *2022-03-26 05:53:50*
51+
52+
553
## git-changelog-maven-plugin-1.89 (2022-03-26)
654

755

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

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Changelog of Git Changelog Maven plugin.
44

55
## These commits are not included in any tag
66
### These commits have not issue in their commit comment
7+
feat: new variable urlParts *10:18:24*
8+
9+
feat: prependToFile (refs #41) *15:46:01*
10+
711
fix: include first commit (refs #40) *05:52:13*
812

913
fix: parsing scopes *15:21:32*

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

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

33
Changelog of git-changelog-maven-plugin.
44

5+
## 1.91 (2022-04-03)
6+
7+
8+
9+
### Features
10+
11+
- new variable urlParts ([79a02](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/79a02f9814bff36) Tomas Bjerre)
12+
13+
14+
15+
16+
17+
## 1.90 (2022-03-31)
18+
19+
20+
21+
### Features
22+
23+
- prependToFile ([f6e76](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/f6e7642a26fa114) Tomas Bjerre) [#41](https://github.com/tomasbjerre/git-changelog-maven-plugin/issues/41)
24+
25+
26+
27+
28+
529
## 1.89 (2022-03-26)
630

731

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

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

33
Changelog of git-changelog-maven-plugin.
44

5+
## 1.91 (2022-04-03)
6+
7+
8+
9+
### Features
10+
11+
- new variable urlParts ([79a02](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/79a02f9814bff36) Tomas Bjerre)
12+
13+
14+
15+
16+
### Other changes
17+
18+
**[maven-release-plugin] prepare release git-changelog-maven-plugin-1.91**
19+
20+
21+
[e5f36](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/e5f3623a7d37452) Tomas Bjerre *2022-04-03 10:19:19*
22+
23+
**[maven-release-plugin] prepare for next development iteration**
24+
25+
26+
[25957](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/2595798105e330f) Tomas Bjerre *2022-03-31 15:48:41*
27+
28+
29+
## 1.90 (2022-03-31)
30+
31+
32+
33+
### Features
34+
35+
- prependToFile ([f6e76](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/f6e7642a26fa114) Tomas Bjerre) [#41](https://github.com/tomasbjerre/git-changelog-maven-plugin/issues/41)
36+
37+
38+
39+
40+
### Other changes
41+
42+
**[maven-release-plugin] prepare release git-changelog-maven-plugin-1.90**
43+
44+
45+
[95362](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/95362de14fc461c) Tomas Bjerre *2022-03-31 15:47:48*
46+
47+
**[maven-release-plugin] prepare for next development iteration**
48+
49+
50+
[d22ec](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/d22ecc7fee29b2d) Tomas Bjerre *2022-03-26 05:53:50*
51+
52+
553
## 1.89 (2022-03-26)
654

755

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public void execute() throws MojoExecutionException {
341341
}
342342

343343
if (this.file != null) {
344-
if (this.prependToFile) {
344+
if (this.isSuppliedAndTrue(this.prependToFile)) {
345345
builder.prependToFile(this.file);
346346
} else {
347347
builder.toFile(this.file);

0 commit comments

Comments
 (0)