-
Notifications
You must be signed in to change notification settings - Fork 157
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
Merge pmd-7-pmd7 branch into master #494
Conversation
…deprecated and removed rules. There are also rules with alternatives, so it is probably better to check which ones can be replaced by the new alternative rules.
…in pmd-sonar plugin
…Short" to test pmd-7.0 with kotlin in pmd-sonar plugin; upped some dependencies
…directory; to be able to run it next to pmd(6) in Sonar
Pmd 7 pmd7
…nar-pmd7-plugin back to sonar-pmd-plugin to avoid merge issues in future
- correct rule definitions for pmd7
…330 - pmd7 processFiles api change
# Conflicts: # docs/RULES.md # integration-test/pom.xml # pom.xml
…330, upped maven wrapper to 3.8.4, made Integration Tests more robust
Doing so, migration to PMD7 compatible sonar-pmd plugin will keep the mapping to existing SonarQube issues, plus the PMD7 plugin is recognized as a new version of previous PMD6 based `pmd` plugin.
…narsource plugins have java 17 compiled classes.
Pmd 7 pmd7 merge master
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we remove all references to old pmd7 rules that are removed?
maybe turn headers into PMD instead of PMD7?
<priority>MAJOR</priority> | ||
<parameters/> | ||
</rule> | ||
<!-- <rule>--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we remove these instead of commenting out?
<priority>MAJOR</priority> | ||
<parameters/> | ||
</rule> | ||
<!-- <rule>--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
<priority>MAJOR</priority> | ||
<parameters/> | ||
</rule> | ||
<!-- <rule>--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
<priority>MAJOR</priority> | ||
<parameters/> | ||
</rule> | ||
<!-- <rule>--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
<priority>CRITICAL</priority> | ||
<parameters/> | ||
</rule> | ||
<!-- <rule>--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
@@ -1,5 +1,5 @@ | |||
/* | |||
* SonarQube PMD Plugin | |||
* SonarQube PMD7 Plugin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we use PMD7 here? It is still the SonarQube PMD plugin... maybe for 8+ in future
} | ||
} | ||
|
||
// @Override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
<txt>min</txt> | ||
</prop> | ||
</chc> | ||
<!-- <chc>--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
<txt>h</txt> | ||
</prop> | ||
</chc> | ||
<!-- NOTE: the following rule has been removed in pmd-7 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove? (and some more commented out rules below)
"UseAssertNullInsteadOfAssertTrue", | ||
"SimplifyBooleanAssertion", | ||
"UseAssertTrueInsteadOfAssertEquals", | ||
//"UseAssertEqualsInsteadOfAssertTrue", // 5 rules have been removed in pmd-7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
Created issue #495 to deal with your remarks. Will be in a follow-up minor releases. |
Merge for release 4.0.0 (pmd7-release)