gchq / Gaffer

A large-scale entity and relation database supporting aggregation of properties
Apache License 2.0
1.77k stars 350 forks source link

PMD Plugin has an unnecessary warning #3157

Closed GCHQDeveloper314 closed 4 months ago

GCHQDeveloper314 commented 8 months ago

Describe the bug When running the PMD plugin it shows the following warning:

[INFO] --- pmd:3.20.0:pmd (default-cli) @ cache ---
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] PMD version: 6.53.0

To Reproduce Steps to reproduce the behaviour:

  1. Run mvn pmd:pmd

Expected behaviour No warning should be shown.

Additional context This warning relates to cross-linking between PMD and the jxr plugin. PMD enables this by default, but Gaffer doesn't use jxr. Changing PMD config to disable this linking should remove the warning.