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

Replace jsr-305 annotations with SpotBugs ones #298

Conversation

devkonarev
Copy link
Contributor

Fixes #296

Similarly to jenkinsci/jenkins#4604 , we should remove JSR annotations and use ones supplied by SpotBugs.

It should also help towards building JFR with JDK 11.

This change as it stands introduces several "deprecated usage" compile warnings because of the bom enforced version of org.jenkins-ci:version-number library. Once the bom is updated and the library version is changed from 1.6 to at least 1.7, the warnings will disappear.

@devkonarev devkonarev requested a review from a team as a code owner May 13, 2020 21:50
Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

Thanks, it should be enough for the time being.
In the future we should also port the pom.xml patch from jenkinsci/jenkins#4604 , but it can be done https://github.com/jenkinsci/pom so that it applies to all Jenkins library repos

@oleg-nenashev oleg-nenashev added the chore Maintenance label May 14, 2020
@oleg-nenashev oleg-nenashev merged commit 4ddb4f6 into jenkinsci:master May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace jsr-305 annotations by SpotBugs ones
2 participants