Skip to content

Commit 7714d28

Browse files
authored
Merge pull request #36 from rimuln/feature/13
feat Support Jira Bearer authorization
2 parents ee26029 + e45967a commit 7714d28

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4444
<maven.compiler.target>1.8</maven.compiler.target>
4545
<maven.compiler.source>1.8</maven.compiler.source>
46-
<changelog-lib>1.160.0</changelog-lib>
46+
<changelog-lib>1.162.0</changelog-lib>
4747
</properties>
4848

4949
<dependencies>

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

+6
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ public class GitChangelogMojo extends AbstractMojo {
118118
@Parameter(property = "jiraUsername", required = false)
119119
private String jiraUsername;
120120

121+
@Parameter(property = "jiraBearer", required = false)
122+
private String jiraBearer;
123+
121124
@Parameter(property = "redmineIssuePattern", required = false)
122125
private String redmineIssuePattern;
123126

@@ -271,6 +274,9 @@ public void execute() throws MojoExecutionException {
271274
if (this.isSupplied(this.jiraServer)) {
272275
builder.withJiraServer(this.jiraServer);
273276
}
277+
if (this.isSupplied(this.jiraBearer)) {
278+
builder.withJiraBearer(this.jiraBearer);
279+
}
274280

275281
if (this.isSupplied(this.redmineUsername)) {
276282
builder.withRedmineUsername(this.redmineUsername);

0 commit comments

Comments
 (0)