[
https://jira.codehaus.org/browse/MCHANGELOG-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=327208#comment-327208
]
Steve Kallestad commented on MCHANGELOG-136:
--------------------------------------------
The resulting report seems to generate fine. The reported error set is
extraordinarily large.
A workaround for removing the errors exists if the file location can be moved
to the end of the URL.
instead of:
<displayFileDetailUrl>http://myscmwebenterface/?f=%FILE%</displayFileDetailUrl>
use:
<displayFileDetailUrl>http://myscmwebenterface/?f=</displayFileDetailUrl>
And the file location will be automatically appended to the end of the URL.
> displayFileDetailUrl generates Errors when running mvn site
> -----------------------------------------------------------
>
> Key: MCHANGELOG-136
> URL: https://jira.codehaus.org/browse/MCHANGELOG-136
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Windows 7
> Reporter: Steve Kallestad
>
> When you include a configuration setting that includes the %FILE% token
> anywhere in the url:
> <displayFileDetailUrl>http://myscmwebenterface/?f=%FILE%</displayFileDetailUrl>
> A series of errors are generated when running mvn site. These errors are not
> generated when running mvn changelog:file-activity
> [INFO] Generating "File Activity" report --- maven-changelog-plugin:2.2
> [INFO] Using existing changelog.xml...
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] No group 1
> [ERROR] No group 2
> [ERROR] No group 3
> [ERROR] No group 4
> [ERROR] No group 5
> [ERROR] No group 6
> [ERROR] No group 7
> [ERROR] Illegal group reference
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] Illegal group reference
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 1
> [ERROR] No group 2
> [ERROR] No group 2
> [ERROR] No group 2
> Running with -X shows that these errors point to ChangeLogReport.java line
> 1501 - relevant snippet here:
> 1497 // Use the given URL to create links to the files
> 1498
> 1499 if ( linkFile.indexOf( FILE_TOKEN ) > 0 )
> 1500 {
> 1501 linkFile = linkFile.replaceAll( FILE_TOKEN, name );
> 1502 }
> 1503 else
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira