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

Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.6 to 4.8.2.0 #510

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2023

Bumps com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.6 to 4.8.2.0.

Release notes

Sourced from com.github.spotbugs:spotbugs-maven-plugin's releases.

Spotbugs Maven Plugin 4.8.2.0

  • Supports spotbugs 4.8.2
  • Fix loading of onlyAnalyze classes/packages from file on multi module projects per #674
  • Force spotbugs log4j2 usage to pipe to slfj4 that we use

Spotbugs Maven Plugin 4.8.1.0

  • Supports Spotbugs 4.8.1

Build

  • Sorted pom now at 4 spaces instead of 2
  • Various updates to GHA - primed for jdk 22 but waiting on groovy 4.0.16 release

See notes from 4.8.0 as important new feature added there that likely will be missed given released within hour of each other.

Spotbugs Maven Plugin 4.8.0.0

  • Supports spotbugs 4.8.0 (note: there were considerable amount of issues with 4.8.0, this exists to be complete but suggest use 4.8.1.0 which will be out in a few).

User Items

  • Support through jdk 21
  • Moved code back to 'master' from 'spotbugs' branch given original fork is long archived and points to this repo
  • Plexus Utils/Xml upgraded in prep for maven 4 and will still work correctly with maven 3 projects
  • Add support to read a file for onlyAnalyze as follows
<onlyAnalyze>file:only-analyze.txt</onlyAnalyze>

Build

  • Move sonar to ubuntu
  • Use jdk 21 for coveralls
  • Point all GHA back to master
  • Bump base-parent pom to 41
  • Bump gmavenplus to 3.0.2
  • Bump commons-io to 2.15.0
  • Bump asm to 9.6
  • Bump maven to 3.9.5
  • Bump guava to 32.1.3-jre
  • Bump spotbugs to 4.8.0
  • Remove extra enforcer rules version from pom as parent updated
  • Bump junit to 5.10.0
  • Bump plexus utils to 4.0.0
  • Override pluxus xml to 3.0.0 so plexus continues to work with maven 3
  • Bump surefire to 3.1.2
  • Cleanup IT test names to match their usage
  • Update hashCode check in tests due to new features in spotbugs 4.8.0
  • Bump plugin plugin to 3.10.2
  • Bump javaparser to 3.25.6
  • Bump javadoc plugin to 3.6.2

... (truncated)

Commits
  • 4737e86 [maven-release-plugin] prepare release spotbugs-maven-plugin-4.8.2.0
  • 6052ca1 [pom] Sort order of maven reporting api/impl
  • 4ed4adc Merge pull request #687 from hazendaz/master
  • 8b483fc [pom] Remove clean goal from invoker as its never existed
  • 7ef8b3a Merge pull request #686 from hazendaz/master
  • 2f28d9c [GHA] For maven wrapper downloads, just use maven there to do that instead of...
  • c0b13b8 Merge pull request #684 from spotbugs/renovate/maven-3.x
  • 1df4aad Merge pull request #685 from spotbugs/renovate/mavenversion
  • db1181d Update mavenVersion to v3.9.6
  • 22ff278 Update dependency maven to v3.9.6
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot force-pushed the dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.8.2.0 branch 3 times, most recently from 16820ae to 1d47d6a Compare December 4, 2023 16:38
basil
basil previously requested changes Dec 4, 2023
Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

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

Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.3.6 to 4.8.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](spotbugs/spotbugs-maven-plugin@spotbugs-maven-plugin-4.7.3.6...spotbugs-maven-plugin-4.8.2.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.8.2.0 branch from 1d47d6a to ceae5f4 Compare December 18, 2023 19:26
MarkEWaite added a commit to MarkEWaite/jenkins that referenced this pull request Dec 24, 2023
jenkinsci/pom#510 needs this change along with
checks of the other repositories that use the Jenkins parent pom.

jenkinsci/pom#501 (review)
recommends that the new spotbugs issues be either suppressed or resolved
in the upstream release of spotbugs.  This change suppresses the new
warning for primitive fields that are pu9blicly visible and the new
warning for a few cases where a field could be made static.

This change skips the warnings related to CT_CONSTRUCTOR_THROWS because
they are not relevant to Jenkins.

jenkinsci/plugin-pom#869 (comment)
provides more details along with the discussion at
spotbugs/spotbugs#2695
MarkEWaite added a commit to MarkEWaite/bridge-method-injector that referenced this pull request Dec 24, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/extensibility-api that referenced this pull request Dec 24, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/jellydoc-maven-plugin that referenced this pull request Dec 24, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/jenkins-test-harness-htmlunit that referenced this pull request Dec 24, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/lib-access-modifier that referenced this pull request Dec 24, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/lib-annotation-indexer that referenced this pull request Dec 24, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/lib-crypto-util that referenced this pull request Dec 24, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/lib-file-leak-detector that referenced this pull request Dec 24, 2023
Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Needs to be merged on or before the update of the parent pom that
updates to use spotbugs 4.8.2.
MarkEWaite added a commit to MarkEWaite/lib-mock-javamail that referenced this pull request Dec 24, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/stapler-maven-plugin that referenced this pull request Dec 25, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/stapler that referenced this pull request Dec 25, 2023
MarkEWaite added a commit to MarkEWaite/winp that referenced this pull request Dec 25, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
MarkEWaite added a commit to MarkEWaite/winstone that referenced this pull request Dec 25, 2023
Draft, not intended to be merged

Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Does not need to be merged because there is no additional suppression required.
@MarkEWaite
Copy link
Contributor

MarkEWaite commented Dec 25, 2023

I believe that this is blocked on the following pull requests to resolve new spotbugs warnings. This pull request can be merged and released once these pull requests are merged,:

The CT_CONSTRUCTOR_THROW bug pattern is related to libraries used with
SecurityManager and does not apply to Jenkins; we do not expect
untrusted code to be running inside the controller JVM, therefore we
suppress it globally.

jenkinsci/plugin-pom#869 (comment)
has more details.
MarkEWaite added a commit to jenkinsci/lib-file-leak-detector that referenced this pull request Dec 25, 2023
Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Needs to be merged on or before the update of the parent pom that
updates to use spotbugs 4.8.2.
MarkEWaite added a commit to MarkEWaite/jenkins that referenced this pull request Dec 29, 2023
jenkinsci/pom#510 needs this change along with
checks of the other repositories that use the Jenkins parent pom.

jenkinsci/pom#501 (review)
recommends that the new spotbugs issues be either suppressed or resolved
in the upstream release of spotbugs.  This change suppresses the new
warning for primitive fields that are pu9blicly visible and the new
warning for a few cases where a field could be made static.

This change skips the warnings related to CT_CONSTRUCTOR_THROWS because
they are not relevant to Jenkins.

jenkinsci/plugin-pom#869 (comment)
provides more details along with the discussion at
spotbugs/spotbugs#2695
MarkEWaite added a commit to jenkinsci/remoting that referenced this pull request Jan 1, 2024
Prep for

* jenkinsci/pom#510

Part of the checklist in:

* jenkinsci/jenkins#8803

Needs to be merged on or before the update of the parent pom that updates to use spotbugs 4.8.2.
MarkEWaite added a commit to jenkinsci/stapler that referenced this pull request Jan 1, 2024
@MarkEWaite MarkEWaite requested a review from basil January 2, 2024 21:09
@MarkEWaite
Copy link
Contributor

As far as I can tell, this is ready to merge. I've confirmed the repositories in the checklist are ready for this change. If I missed a repository that depends on this change, I'll happily submit the pull request(s) to repair things after this is merged.

@basil
Copy link
Member

basil commented Jan 2, 2024

I see that you have been working with Jesse Glick on this set of changes in the corresponding plugin-pom pull request, which I think is great.

@basil basil removed their request for review January 2, 2024 21:27
@MarkEWaite
Copy link
Contributor

I see that you have been working with Jesse Glick on this set of changes in the corresponding plugin-pom pull request, which I think is great.

Thanks. The process in this pull request was an attempt to identify and resolve the spotbugs issues before the change to the parent pom was merged and released. I'm not sure that I have the stamina for the same level of rigor with the plugin pom.

I see two options. I'm interested in which of the two options is the better choice.

  1. Review the top 100 plugins in the same way that I reviewed the 29 repositories and submit pull requests to resolve the spotbugs warnings before the plugin parent pom pull request is merged
  2. Merge the plugin parent pom pull request and accept that plugin maintainers will need to review the spotbugs warnings and either suppress them or resolve them

@basil
Copy link
Member

basil commented Jan 2, 2024

As to the approach to be followed in plugin-pom, I cannot comment, as I have not read the other thread.

@MarkEWaite MarkEWaite merged commit 40544e1 into master Jan 3, 2024
2 checks passed
@MarkEWaite MarkEWaite deleted the dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.8.2.0 branch January 3, 2024 20:16
MarkEWaite added a commit to MarkEWaite/remoting that referenced this pull request Jan 10, 2024
Removes cd91eea workaround that was
added in jenkinsci#708

jenkinsci/pom#510 is the pull request to the
parent pom.  It was released in parent pom 1.109.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants