Skip to content

Commit

Permalink
[maven] Update deprecated code from current project call for reports …
Browse files Browse the repository at this point in the history
…plugin
  • Loading branch information
hazendaz committed Nov 11, 2024
1 parent e5fd7e7 commit f2baf85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
return true
}

List reportPlugins = session.getCurrentProject().getReportPlugins()
List reportPlugins = session.getCurrentProject().getModel().getReporting().getPlugins()

boolean isEnabled

Expand Down

0 comments on commit f2baf85

Please sign in to comment.