Package org.sonarsource.scanner.maven
Class SonarQubeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.sonarsource.scanner.maven.SonarQubeMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="sonar",
requiresDependencyResolution=TEST,
aggregator=true)
public class SonarQubeMojo
extends org.apache.maven.plugin.AbstractMojo
Analyze project. SonarQube server must be started.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
SonarQubeMojo
public SonarQubeMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-