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)
This version is not yet released in our parent-pom (only merged so far) but I think as soon as we release it we will get additional reports from other people. I tried the new version in my analysis-pom and get failures now:
jenkinsci/jquery3-api-plugin#255 (and https://github.com/jenkinsci/jquery3-api-plugin/actions/runs/17898491556/job/50888315843?pr=255)
It might be caused by Jenkins core where we have the exclusion:
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
And plugins do import the annotations with the scope provided. So this will cause a problem for all plugins soon. Do you have an idea what to do? I can bundle the JSR 305 library in my plugins but I am not sure if this is the correct way.
--
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 jenkinsci-de...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-dev/B9BCB6F0-5129-4338-8A70-4971993EF4AA%40gmail.com.
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)
--
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 jenkinsci-de...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-dev/85bbf5ed-bb0e-4686-8ce0-5016244dea8bn%40googlegroups.com.