[ 
http://jira.codehaus.org/browse/MCHANGES-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184913#action_184913
 ] 

Karl Heinz Marbaise commented on MCHANGES-166:
----------------------------------------------

If i use your suggestion without the issueManagement entry in my pom the report 
does not contain any link which means the information is printed out but no 
html link is created.

It seemed that in the method constructAction() in the ChangeReportGenerator 
Class {code:java}                if ( !canGenerateIssueLinks( system ) )
                {
                    constructIssueText( action.getIssue(), sink, 
action.getFixedIssues() );
                }
                else
                {
                    constructIssueLink( action.getIssue(), system, sink, 
action.getFixedIssues() );
                }
{code}The result of canGenerateIssueLink() is false...which seemed to be the 
problem...

> Problem with issueLinkTemplatePerSystem 
> ----------------------------------------
>
>                 Key: MCHANGES-166
>                 URL: http://jira.codehaus.org/browse/MCHANGES-166
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: changes-report
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>
> I have a pom where i defined the issueManagement part as follows:
>     <issueManagement>
>         <system>Redmine</system>
>         <url>http://www.supose.org</url>
>     </issueManagement>
> and in the configuration section of the maven-changes-plugin as follows:
>    <issueLinkTemplatePerSystem>
>            <Redmine>http://www.supose.org/issues/show/%ISSUE%</Redmine>
>    </issueLinkTemplatePerSystem>
> but if i do a mvn changes:changes-report
> I get links with "viewissue.jspa/?key=..." ...assuming the entries in
> changes.xml used no type so type="default" is assumed here...but the default 
> URL is used instead the 
> above one.
> If i use 
>  
> <issueLinkTemplate>http://www.supose.org/issues/show/%ISSUE%</issueLinkTemplate>
> in the pom instead for configuration i got correct links but a DEPRECATED 
> warning during site build.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to