From 5813680a3ac2f9f03bcabc4aefd072c0449a21db Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Wed, 27 Dec 2023 03:50:44 -0500 Subject: [PATCH] [cleanup] Remove items duplicated from parent in spot bugs mojo for no real reason --- .../mojo/spotbugs/SpotBugsMojo.groovy | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy index 6695ef58..040cb248 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy @@ -22,8 +22,6 @@ import groovy.xml.XmlSlurper import groovy.xml.slurpersupport.GPathResult; import groovy.xml.StreamingMarkupBuilder -import org.apache.maven.doxia.siterenderer.Renderer -import org.apache.maven.doxia.tools.SiteTool import org.apache.maven.execution.MavenSession import org.apache.maven.plugin.MojoExecutionException import org.apache.maven.plugins.annotations.Mojo @@ -138,10 +136,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait { @Parameter(defaultValue = 'spotbugsXml.xml', property = 'spotbugs.outputXmlFilename') String spotbugsXmlOutputFilename - /** Doxia Site Renderer. */ - @Inject - Renderer siteRenderer - /** Directory containing the class files for Spotbugs to analyze. */ @Parameter(defaultValue = '${project.build.outputDirectory}', required = true) File classFilesDirectory @@ -421,14 +415,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait { @Inject ResourceManager resourceManager - /** - * SiteTool. - * - * @since 2.1 - */ - @Inject - SiteTool siteTool - /** * Fail the build on an error. * @@ -720,15 +706,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait { return outputDirectory.getAbsolutePath() } - /** - * Return the Site Renderer. - * - */ - @Override - protected Renderer getSiteRenderer() { - return this.siteRenderer - } - /** * Determines if the JXR-Plugin is included in the report section of the POM. *