Skip to content
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

Drop deprecated RulesDefinitionXmlLoader #550

Merged
merged 6 commits into from
May 26, 2022

Conversation

gtoison
Copy link
Contributor

@gtoison gtoison commented May 14, 2022

- RulesDefinitionXmlLoader is deprecated and will be dropped in SQ 10
- RulesDefinitionXmlLoader does not populate the OWASP categories and
can't be extended (see spotbugs#392)
- Loading/unloading the plugins dynamically from jar files leads to file
leaks because SpotBugs does not close the classloaders (solves #128)
- The Groovy scripts seem to need some fixes to work with Groovy 4
The sonar-java-plugin is provided by the SonarQube server but not its
transient dependencies
- Removed usage of Guava
- Replaced commons-lang usage by commons-lang3
@gtoison gtoison marked this pull request as ready for review May 21, 2022 12:14
@gtoison gtoison requested a review from a team May 21, 2022 12:14
Copy link
Contributor

@pethers pethers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, all test passes. Nice to support later versions.

@gtoison
Copy link
Contributor Author

gtoison commented May 21, 2022

Sorry, just realized I forgot to commit the deletion of code and resources that are now unused

@gtoison gtoison changed the base branch from master to sq-10 May 26, 2022 13:09
@gtoison gtoison merged commit e1ab079 into spotbugs:sq-10 May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants