Maven 2.x PMD Plugin

XRef lnks do not work with aggregated XRef

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1
  • Fix Version/s: 2.2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

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).

Activity

Hide
Maarten Winkels added a comment -

This patch solves the problem by changing the outputDirectory property in a java.util.File.

Show
Maarten Winkels added a comment - This patch solves the problem by changing the outputDirectory property in a java.util.File.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: