-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] Multivalued properties do not accept | as a separator #4704
Comments
Removing the whitespace did not help. The multi-valued configuration is documented, so perhaps that capability was removed for this rule? |
@ben-manes it should be a comma-separated string. This doc section is clearly outdated 'though. I'm unsure about the extra whitespace though… I don't remember if it was trimmed |
Perfect, that worked. Maybe the documentation needs to be updated since it suggests using a pipe?
|
yeah, that needs updating as do the migration guide we recently put together. Thanks for raising this. |
It's mentioned in this section: https://docs.pmd-code.org/latest/pmd_userdocs_migrating_to_pmd7.html#im-using-only-built-in-rules And yes, https://docs.pmd-code.org/latest/pmd_userdocs_configuring_rules.html needs to be updated |
Affects PMD Version:
7.0.0-rc4
Description:
After upgrading from 7.0.0-rc3, the analysis logs exceptions. This appears to only be noise as it does not fail the run.
Exception Stacktrace:
https://github.com/ben-manes/caffeine/actions/runs/6389804412/job/17341828673?pr=1229#step:5:284
Code Sample demonstrating the issue:
Project's rulesSets.xml.
Steps to reproduce:
Check out the PR commit and run the script,
Running PMD through: Gradle
The text was updated successfully, but these errors were encountered: