Skip to content

Commit f2baf85

Browse files
committed
[maven] Update deprecated code from current project call for reports plugin
1 parent e5fd7e7 commit f2baf85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
755755
return true
756756
}
757757

758-
List reportPlugins = session.getCurrentProject().getReportPlugins()
758+
List reportPlugins = session.getCurrentProject().getModel().getReporting().getPlugins()
759759

760760
boolean isEnabled
761761

0 commit comments

Comments
 (0)