[ 
https://issues.apache.org/jira/browse/MCHANGELOG-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MCHANGELOG-136.
-------------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period 
of time. If you think this issue still applies, retest your problem with the 
most recent version of Maven and the affected component, reopen and post your 
results.

> displayFileDetailUrl generates Errors when running mvn site
> -----------------------------------------------------------
>
>                 Key: MCHANGELOG-136
>                 URL: https://issues.apache.org/jira/browse/MCHANGELOG-136
>             Project: Maven Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Windows 7
>            Reporter: Steve Kallestad
>            Priority: Major
>
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to