Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 1.9
-
Labels:None
-
Number of attachments :
Description
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:
Issue Links
- is depended upon by
-
MAVEN-1668
On the maven site the links reported by, file-activity-report and changelog-report, is broken.
-
- is related to
-
MPFILEACTIVITY-2
file activity plugin creates wrong links for Subversion repositories
-
- relates to
-
MCHANGELOG-5
Generated links to files in scm are based on the scm url tag in the pom (but should they be??)
-
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