Issue Details (XML | Word | Printable)

Key: MPMD-52
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Daniel Kulp
Reporter: Maarten Winkels
Votes: 1
Watchers: 1
Operations

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

XRef lnks do not work with aggregated XRef

Created: 04/Jan/07 07:09 AM   Updated: 11/Mar/07 06:25 PM
Component/s: None
Affects Version/s: 2.1
Fix Version/s: 2.2

Time Tracking:
Not Specified

File Attachments: 1. Text File maven-pmd-plugin.patch (1 kB)



 Description  « Hide
When using JXR with the aggregate property set, the XRef links generated by this plugin fail.

The obvious solution would be to use:
<configuration>
<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
</configuration>

But this fails. When the relative path is calculated, the PathTool used fails to recognize the paths as being relative to each other (on Windows, due to the forward, backword slashes).



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Maarten Winkels added a comment - 04/Jan/07 07:13 AM
This patch solves the problem by changing the outputDirectory property in a java.util.File.