Issue Details (XML | Word | Printable)

Key: MPCHANGELOG-74
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Henning Schmiedehausen
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Changelog Plugin

changelog plugin creates wrong links for Subversion repositories

Created: 19/Sep/05 04:06 AM   Updated: 17/Jan/06 01:07 PM   Resolved: 17/Jan/06 01:07 PM
Return to search
Component/s: None
Affects Version/s: 1.8.2
Fix Version/s: 1.9

Time Tracking:
Not Specified

File Attachments: 1. HTML File changelog-report.html (9 kB)

Issue Links:
Related
dependent
 


 Description  « Hide

The maven file-activity plugin creates wrong links at docs/file-activity-report.html.

project.xml

<repository>
<connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/turbine/core/branches/TURBINE_2_3_BRANCH</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/turbine/core/branches/TURBINE_2_3_BRANCH</developerConnection>
<url>http://svn.apache.org/viewcvs/jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/</url>
</repository>

results in the attached changelog-report.html file where the links into the SCM look like this:

http://svn.apache.org/viewcvs/jakarta/turbine/core/branches/TURBINE_2_3_BRANCH//jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/project.xml



Arnaud Heritier made changes - 19/Sep/05 03:49 PM
Field Original Value New Value
Link This issue is depended upon by MAVEN-1668 [ MAVEN-1668 ]
Niall Pemberton added a comment - 23/Sep/05 06:09 AM

A workaround for this issue is to set the repository url to the root ASF one - that causes changelog to generate "good links":

<repository>
<connection>....</connection>
<developerConnection>.... </developerConnection>
<url>http://svn.apache.org/viewcvs.cgi</url>
</repository>

The only problem then is the link on the generated "Source Repository" page just points to the whole of ASF, rather than your particular project. You can get round this by including a custom "cvs-usage.xml" document in the "xdocs" directory.

Just out of interest the "change log" report for the maven-changelog-plugin is also currently suffering from this issue:

http://maven.apache.org/reference/plugins/changelog/changelog-report.html


Lukas Theussl made changes - 03/Oct/05 11:28 AM
Fix Version/s 1.9 [ 12040 ]
Lukas Theussl made changes - 03/Oct/05 11:39 AM
Link This issue is related to MPFILEACTIVITY-2 [ MPFILEACTIVITY-2 ]
Julian Wood made changes - 01/Dec/05 11:41 AM
Link This issue is related to MOJO-154 [ MOJO-154 ]
Julian Wood added a comment - 01/Dec/05 11:41 AM

Unfortunately I posted my report in the wrong area, but there is a patch there which deals with the problem of using the same URL for the source repository report and for the generation of links in the changelog and file activity reports.


Lukas Theussl added a comment - 17/Jan/06 01:07 PM

Introduced a maven.changelog.svn.baseurl property.


Lukas Theussl made changes - 17/Jan/06 01:07 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]