Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[MCHANGES-411] Issue link is mangled if project.issueManagement.url does not end with slash (/)

Open
#281 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Start in src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java at the URL handling around lines 634-646. Reproduce the report with an issueManagement URL that lacks a trailing slash, then adjust the handling so the generated issue link retains the configured base URL and verify the resulting link.

Written by the indexing model from the issue text.

Description

bug priority:major

Unassigned Developer opened MCHANGES-411 and commented

Consider the follwing block in your POM:

<issueManagement>
     <system>GitHub</system>
     <url>https://github.com/michael-o/tomcatspnegoad/issues</url>
</issueManagement>

The changes report will turn the issue link into https://github.com/michael-o/tomcatspnegoad/%ISSUE% because here (https://github.com/apache/maven-changes-plugin/blob/e85711fd246c505e5e088c16014afd2d5fe91e0c/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java#L634-L646) it will chop off the last components, ignoring it will end with a slash or not.


No further details from MCHANGES-411

Dominant language
Java
Stars
15
Forks
22
Avg merge
1d 6h
Merged PRs (30d)
7

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/maven-changes-plugin

All issues in apache/maven-changes-plugin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.