-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Spotbugs plugin dependencies are specified as plugins and cause NullPointerException
#910
Labels
Comments
This was referenced Jun 26, 2023
KengoTODA
added a commit
that referenced
this issue
Jul 31, 2023
Signed-off-by: Kengo TODA <skypencil@gmail.com>
Merged
KengoTODA
added a commit
that referenced
this issue
Jul 31, 2023
Signed-off-by: Kengo TODA <skypencil@gmail.com>
🎉 This issue has been resolved in version 5.0.15 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I updated the
sb-contrib
plugin from 7.4.7 to 7.6.0.Version 7.6.0 now has a dependency on
jakarta.xml.bind:jakarta.xml.bind-api
which it did not have before.This plugin resolves the
spotbugsPlugins
configuration and specifies all JARs in the configuration as plugins to SpotBugs.This causes the
NullPointerException
in SpotBugs, as
jakarta.xml.bind:jakarta.xml.bind-api
is treated as plugin which it is not.To determine the plugin jars to specify for
-pluginList
there should probably be another configuration that extends fromspotbugsPlugins
and is set to be non-transitive. This new configuration should then only contain the actual plugin jars and the other jars from thespotbugsPlugins
configuration should then be added to the classpath instead.The text was updated successfully, but these errors were encountered: