You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/12/09 10:30:00 UTC

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

Michael Osipov created MCHANGES-411:
---------------------------------------

             Summary: Issue link is mangled if project.issueManagement.url does not end with slash (/)
                 Key: MCHANGES-411
                 URL: https://issues.apache.org/jira/browse/MCHANGES-411
             Project: Maven Changes Plugin
          Issue Type: Bug
            Reporter: Michael Osipov


Consider the follwing block in your POM:
{code:xml}
	<issueManagement>
		<system>GitHub</system>
		<url>https://github.com/michael-o/tomcatspnegoad/issues</url>
	</issueManagement>
{code}

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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)