slachiewicz opened a new pull request, #786: URL: https://github.com/apache/maven-pmd-plugin/pull/786
Refreshes the plugin site and README ahead of 3.29.0, so a first-time reader finds the common tasks, the Maven and Java floor, and working links. - Every `pmd.github.io/pmd-<version>/` and `pmd.github.io/latest/` link returned 404: PMD 7 documentation lives on `docs.pmd-code.org`, and PMD 6 versions on `pmd.sourceforge.io`. The version table links 3.21.2, because no 3.21.0 site exists in the archive. - The usage example set `inputEncoding`, which is read-only (Maven warns that it must not be used in configuration), and `linkXref`, which does not match the `linkXRef` parameter. It now relies on `project.build.sourceEncoding` and targets Java 17 instead of 1.5, which would need a JDK 1.5 toolchain since 3.29.0. - The target JDK page said `targetJdk` follows `maven.compiler.target`; the default is `maven.compiler.source`. A project that sets only `maven.compiler.release` gets no platform classes, so the page shows how to pass it on, and it links the Java versions that PMD supports. - The rule set page claimed custom rule sets need an absolute path; relative paths resolve against the project directory. Notes about PMD 5 paths, Maven 3.3.x and the 3.9.0 upgrade are gone. The `a3.9.0` anchor stays on the index. - The FAQ entry on slow reports names the new `executionThreads` parameter. - The README drops the generic contributor template and the Jenkins badges for what the plugin does, its floor, and the build and IT commands. Verified: `mvn -Prun-its verify` → 88 tests, 26 ITs passed; the changed POM snippets, the rule sets and the C# CPD example ran against 3.29.0-SNAPSHOT; a PMD 6 rule name (`bestpractices.xml/UnusedImports`) fails with "Unable to find rule" on PMD 7.29.0. --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [x] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [x] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
