Skip to content

Commit

Permalink
[cleanup] Remove items duplicated from parent in spot bugs mojo for n…
Browse files Browse the repository at this point in the history
…o real reason
  • Loading branch information
hazendaz committed Nov 11, 2024
1 parent b369bd3 commit 5813680
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down

0 comments on commit 5813680

Please sign in to comment.