@Mojo(name="check",
defaultPhase=VERIFY,
requiresDependencyResolution=TEST,
requiresProject=true,
threadSafe=true)
@Execute(goal="spotbugs")
public class SpotbugsViolationCheckMojo
extends org.apache.maven.plugin.AbstractMojo
implements groovy.lang.GroovyObject
| Constructor and Description |
|---|
SpotbugsViolationCheckMojo() |
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic File getOutputDirectory()
public void setOutputDirectory(File value)
public boolean getXmlOutput()
public boolean isXmlOutput()
public void setXmlOutput(boolean value)
public File getXmlOutputDirectory()
public void setXmlOutputDirectory(File value)
public boolean getSpotbugsXmlOutput()
public boolean isSpotbugsXmlOutput()
public void setSpotbugsXmlOutput(boolean value)
public File getSpotbugsXmlOutputDirectory()
public void setSpotbugsXmlOutputDirectory(File value)
public org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
public void setSiteRenderer(org.apache.maven.doxia.siterenderer.Renderer value)
public File getClassFilesDirectory()
public void setClassFilesDirectory(File value)
public File getTestClassFilesDirectory()
public void setTestClassFilesDirectory(File value)
public File getXrefLocation()
public void setXrefLocation(File value)
public File getXrefTestLocation()
public void setXrefTestLocation(File value)
public List getCompileSourceRoots()
public void setCompileSourceRoots(List value)
public List getTestSourceRoots()
public void setTestSourceRoots(List value)
public boolean getIncludeTests()
public boolean isIncludeTests()
public void setIncludeTests(boolean value)
public List getPluginArtifacts()
public void setPluginArtifacts(List value)
public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository value)
public List getRemoteArtifactRepositories()
public void setRemoteArtifactRepositories(List value)
public org.apache.maven.project.MavenProject getProject()
public void setProject(org.apache.maven.project.MavenProject value)
public String getXmlEncoding()
public void setXmlEncoding(String value)
public String getSourceEncoding()
public void setSourceEncoding(String value)
public String getOutputEncoding()
public void setOutputEncoding(String value)
public String getThreshold()
public void setThreshold(String value)
public org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()
public void setArtifactResolver(org.apache.maven.artifact.resolver.ArtifactResolver value)
public String getIncludeFilterFile()
public void setIncludeFilterFile(String value)
public String getExcludeFilterFile()
public void setExcludeFilterFile(String value)
public String getExcludeBugsFile()
public void setExcludeBugsFile(String value)
public String getEffort()
public void setEffort(String value)
public Boolean getDebug()
public void setDebug(Boolean value)
public Boolean getRelaxed()
public void setRelaxed(Boolean value)
public String getVisitors()
public void setVisitors(String value)
public String getOmitVisitors()
public void setOmitVisitors(String value)
public String getPluginList()
public void setPluginList(String value)
public String getOnlyAnalyze()
public void setOnlyAnalyze(String value)
public Boolean getNested()
public void setNested(Boolean value)
public Boolean getTrace()
public void setTrace(Boolean value)
public int getMaxRank()
public void setMaxRank(int value)
public boolean getSkip()
public boolean isSkip()
public void setSkip(boolean value)
public org.codehaus.plexus.resource.ResourceManager getResourceManager()
public void setResourceManager(org.codehaus.plexus.resource.ResourceManager value)
public org.apache.maven.doxia.tools.SiteTool getSiteTool()
public void setSiteTool(org.apache.maven.doxia.tools.SiteTool value)
public boolean getFailOnError()
public boolean isFailOnError()
public void setFailOnError(boolean value)
public boolean getFork()
public boolean isFork()
public void setFork(boolean value)
public int getMaxHeap()
public void setMaxHeap(int value)
public int getTimeout()
public void setTimeout(int value)
public String getJvmArgs()
public void setJvmArgs(String value)
public int getBugCount()
public void setBugCount(int value)
public int getErrorCount()
public void setErrorCount(int value)
public void execute()
execute in interface org.apache.maven.plugin.MojoCopyright © 2005–2018 hazendaz. All rights reserved.