You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Steve Kallestad (JIRA)" <ji...@codehaus.org> on 2013/06/24 00:48:03 UTC
[jira] (MCHANGELOG-136) displayFileDetailUrl generates Errors when
running mvn site
Steve Kallestad created MCHANGELOG-136:
------------------------------------------
Summary: 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