Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-349

Strange behaviour for issueManagement url on github

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Auto Closed
    • 2.11
    • None
    • changes.xml, github
    • None
    • tested on Mac with maven 3.2.3
      tested on Win8 with maven 3.2.3

    Description

      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

      ...
              <issueManagement>
      		<system>GitHub</system>
      		<url>https://github.com/NargiT/random-media/issues</url>
      	</issueManagement>
      ...
      

      But when I run

      $ mvn site

      the report : changes-report do not handle issues correctly from the changes.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>
      ...
      
      ...
      <release version="0.0.1" date="2014-12-11" description="First release">
      	<action dev="nargit" type="add">
      		<fixes issue="1" />
      	</action>
      </release>
      ...
      

      Instead to generate https://github.com/NargiT/random-media/issues/1, changes-report.html generates https://github.com/NargiT/random-media/1

      If I add an extra ' / ' at the end, it solve my problem.

      	<issueManagement>
      		<system>GitHub</system>
      		<url>https://github.com/NargiT/random-media/issues/</url>
      	</issueManagement>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            nargit Tigran Tchougourian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: