Skip to content

Commit 57f2972

Browse files
tomasbjerregmessner
authored andcommittedFeb 13, 2019
Adding Git Changelog Maven Plugin (gitlab4j#301)
1 parent 00496bf commit 57f2972

File tree

4 files changed

+5413
-0
lines changed

4 files changed

+5413
-0
lines changed
 

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ target/
4444

4545
# Test properties file for gitlab4j
4646
test-gitlab4j.properties
47+
48+
.okhttpcache

‎CHANGELOG.md

+5,359
Large diffs are not rendered by default.

‎CHANGELOG.mustache

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Changelog
2+
Changelog of GitLab4J API.
3+
4+
{{#tags}}
5+
## {{name}}
6+
{{#issues}}
7+
{{#hasIssue}}
8+
{{#hasLink}}
9+
### {{name}} [{{issue}}]({{link}}) {{title}} {{#hasIssueType}} *{{issueType}}* {{/hasIssueType}} {{#hasLabels}} {{#labels}} *{{.}}* {{/labels}} {{/hasLabels}}
10+
{{/hasLink}}
11+
{{^hasLink}}
12+
### {{name}} {{issue}} {{title}} {{#hasIssueType}} *{{issueType}}* {{/hasIssueType}} {{#hasLabels}} {{#labels}} *{{.}}* {{/labels}} {{/hasLabels}}
13+
{{/hasLink}}
14+
{{/hasIssue}}
15+
{{^hasIssue}}
16+
### {{name}}
17+
{{/hasIssue}}
18+
19+
{{#commits}}
20+
**{{{messageTitle}}}**
21+
22+
{{#messageBodyItems}}
23+
* {{.}}
24+
{{/messageBodyItems}}
25+
26+
[{{hash}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}} *{{commitTime}}*
27+
28+
{{/commits}}
29+
30+
{{/issues}}
31+
{{/tags}}
32+

‎pom.xml

+20
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<systemRules.version>1.18.0</systemRules.version>
5151
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5252
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
53+
<changelog-lib.version>1.59</changelog-lib.version>
5354
</properties>
5455

5556
<scm>
@@ -195,6 +196,25 @@
195196
</systemPropertyVariables>
196197
</configuration>
197198
</plugin>
199+
200+
<plugin>
201+
<groupId>se.bjurr.gitchangelog</groupId>
202+
<artifactId>git-changelog-maven-plugin</artifactId>
203+
<version>${changelog-lib.version}</version>
204+
<executions>
205+
<execution>
206+
<id>GenerateGitChangelog</id>
207+
<phase>generate-sources</phase>
208+
<goals>
209+
<goal>git-changelog</goal>
210+
</goals>
211+
<configuration>
212+
<readableTagName>gitlab4j-api-(.*)</readableTagName>
213+
<templateFile>CHANGELOG.mustache</templateFile>
214+
</configuration>
215+
</execution>
216+
</executions>
217+
</plugin>
198218
</plugins>
199219
</build>
200220

0 commit comments

Comments
 (0)
Please sign in to comment.