Skip to content

Commit a8c4128

Browse files
committed
Remove renderer as in the upstream and we provide no value overriding it
1 parent 46e9524 commit a8c4128

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

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

-14
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import java.util.stream.Collectors
3131

3232
import javax.inject.Inject
3333

34-
import org.apache.maven.doxia.siterenderer.Renderer
3534
import org.apache.maven.execution.MavenSession
3635
import org.apache.maven.plugin.MojoExecutionException
3736
import org.apache.maven.plugins.annotations.Mojo
@@ -136,10 +135,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
136135
@Parameter(defaultValue = 'spotbugsXml.xml', property = 'spotbugs.outputXmlFilename')
137136
String spotbugsXmlOutputFilename
138137

139-
/** Doxia Site Renderer. */
140-
@Inject
141-
Renderer siteRenderer
142-
143138
/** Directory containing the class files for Spotbugs to analyze. */
144139
@Parameter(defaultValue = '${project.build.outputDirectory}', required = true)
145140
File classFilesDirectory
@@ -710,15 +705,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
710705
return outputDirectory.getAbsolutePath()
711706
}
712707

713-
/**
714-
* Return the Site Renderer.
715-
*
716-
*/
717-
@Override
718-
protected Renderer getSiteRenderer() {
719-
return this.siteRenderer
720-
}
721-
722708
/**
723709
* Determines if the JXR-Plugin is included in the report section of the POM.
724710
*

0 commit comments

Comments
 (0)