You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tigran Tchougourian (JIRA)" <ji...@codehaus.org> on 2014/12/12 00:08:10 UTC

[jira] (MCHANGES-349) Strange behaviour for github-report

Tigran Tchougourian created MCHANGES-349:
--------------------------------------------

             Summary: Strange behaviour for github-report
                 Key: MCHANGES-349
                 URL: https://jira.codehaus.org/browse/MCHANGES-349
             Project: Maven Changes Plugin
          Issue Type: Bug
          Components: changes.xml, github
    Affects Versions: 2.11
         Environment: tested on Mac with maven 3.2.3
tested on Win8 with maven 3.2.3
            Reporter: Tigran Tchougourian


Hello,

According to the documentation : http://maven.apache.org/plugins/maven-changes-plugin/usage.html#How_to_Generate_the_GitHub_Report

I can write this
{code:xml:Title="pom.xml"}
...
        <issueManagement>
		<system>GitHub</system>
		<url>https://github.com/NargiT/random-media/issues</url>
	</issueManagement>
...
{code}

But when I run {code:xml}$ mvn site{code} the report : changes-report do not handle issues correctly from the changes.xml

{code:xml|Title="pom.xml"}
...
<plugins>
	<plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-changes-plugin</artifactId>
		<version>2.11</version>
	        <reportSets>
			<reportSet>
				<reports>
					<report>changes-report</report>
					<report>github-report</report>
				</reports>
			</reportSet>
		</reportSets>
	</plugin>
</plugins>
...
{code}

{code:xml|Title="changes.xml"}
...
<release version="0.0.1" date="2014-12-11" description="First release">
	<action dev="nargit" type="add">
		<fixes issue="1" />
	</action>
</release>
...
{code}

Instead to generate *{color:green}https://github.com/NargiT/random-media/issues/1{color}*, changes-report.html generates *{color:red}https://github.com/NargiT/random-media/1{color}*

If I add an extra ' */* ' at the end, it solve my problem.
{code:xml}
	<issueManagement>
		<system>GitHub</system>
		<url>https://github.com/NargiT/random-media/issues/</url>
	</issueManagement>
{code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)