@org.apache.maven.plugins.annotations.Mojo(name: gui, requiresDependencyResolution: ResolutionScope.TEST, requiresProject: true) class SpotBugsGui extends AbstractMojo implements SpotBugsPluginsTrait
Launch the Spotbugs GUI. It will use all the parameters in the POM fle.
Type | Name and description |
---|---|
org.apache.maven.shared.transfer.artifact.resolve.ArtifactResolver |
artifactResolver Artifact resolver, needed to download the coreplugin jar. |
java.io.File |
classFilesDirectory Directory containing the class files for Spotbugs to analyze. |
boolean |
debug Turn on Spotbugs debugging. |
java.lang.String |
effort Effort of the bug finders. |
java.lang.String |
encoding The file encoding to use when reading the source files. |
RepositorySystem |
factory Used to look up Artifacts in the remote repository. |
static java.util.Locale |
locale Locale to use for Resource bundle. |
int |
maxHeap Maximum Java heap size in megabytes (default=512). |
java.util.List |
pluginArtifacts List of artifacts this plugin depends on. |
java.lang.String |
pluginList The plugin list to include in the report. |
PluginArtifact[] |
plugins Collection of PluginArtifact to work on. |
org.codehaus.plexus.resource.ResourceManager |
resourceManager Resource Manager. |
MavenSession |
session Maven Session. |
java.io.File |
spotbugsXmlOutputDirectory Specifies the directory where the Spotbugs native xml output will be generated. |
java.lang.String |
spotbugsXmlOutputFilename Set the name of the output XML file produced |
Constructor and description |
---|
SpotBugsGui() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
execute() |
Artifact resolver, needed to download the coreplugin jar.
Directory containing the class files for Spotbugs to analyze.
Turn on Spotbugs debugging.
Effort of the bug finders. Valid values are Min, Default and Max.
The file encoding to use when reading the source files. If the property project.build.sourceEncoding
is not set, the platform default encoding is used. Note: This parameter always overrides the
property charset
from Checkstyle's TreeWalker
module.
Used to look up Artifacts in the remote repository.
Locale to use for Resource bundle.
Maximum Java heap size in megabytes (default=512).
List of artifacts this plugin depends on. Used for resolving the Spotbugs core plugin.
The plugin list to include in the report. This is a SpotbugsInfo.COMMA-delimited list.
Collection of PluginArtifact to work on. (PluginArtifact contains groupId, artifactId, version, type, classifier.) See Usage for details.
Resource Manager.
Maven Session.
Specifies the directory where the Spotbugs native xml output will be generated.
Set the name of the output XML file produced
spotbugs-maven-plugin Groovy Documentation