Actually I haven’t tried other plugins. I just realized that the builds of all 
my plugins failed. Maybe it is a configuration problem specific to my plugins, 
as I am using a different SpotBugs configuration.

After add JSR 305 as dependency to the spotbugs-plugin my builds are green 
again. So I am closing the issue. 

@James Thanks for the configuration tip


> Am 22.09.2025 um 23:04 schrieb Mark Waite <[email protected]>:
> 
> On Monday, September 22, 2025 at 1:23:53 PM UTC-6 Ullrich Hafner wrote:
> I’m not sure who is reading the issue tracker for our plugin-pom so I am 
> asking the same question here as well:
> 
> Maven SpotBugs Plugin >= 4.9.5.0 fails when the JSR 305 annotations are not 
> on the classpath. For reference see: spotbugs/spotbugs-maven-plugin#1209 
> (comment) 
> <https://github.com/spotbugs/spotbugs-maven-plugin/issues/1209#event-19823856210>
> 
> I'm not able to duplicate the issue with the tip of the master branch from 
> the plugin-pom directory using plugins that I maintain.
> 
> I built and installed the tip of the master branch locally with `mvn clean 
> install` and then updated several plugins to use 5.27-SNAPSHOT as their 
> parent pom.  I ran `mvn clean -Dtest=InjectedTest verify` on those plugins 
> and the build succeeded in all but one case.  In that case, there were new 
> spotbugs warnings, but no failure to build.  The plugins that I checked were:
> 
> apache-httpcomponents-client-4-api-plugin
> basic-branch-build-strategies-plugin
> embeddable-build-status-plugin
> git-client-plugin
> gitlab-plugin
> git-plugin
> implied-labels-plugin
> javadoc-plugin
> markdown-formatter-plugin
> nodelabelparameter-plugin
> platformlabeler-plugin
> priority-sorter-plugin
> versioncolumn-plugin
> 
> Is that failure limited to plugins that you maintain or can you see it on 
> other plugins as well?
> 
> Mark Waite
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/85bbf5ed-bb0e-4686-8ce0-5016244dea8bn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/85bbf5ed-bb0e-4686-8ce0-5016244dea8bn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-dev/BBC55442-A804-42D2-8897-54264C962B44%40gmail.com.

Reply via email to