org.codehaus.mojo.sonar
Class SonarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.sonar.SonarMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class SonarMojo
- extends AbstractMojo
Analyze a Maven project. The Sonar server must be started.
- Aggregates the Maven project and its child modules.
- Is defined by the goal name:
- sonar
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected MavenProject project
- Is readonly.
- Is required.
- Is defined by:
- default-value:
- ${project}
pluginManager
protected PluginManager pluginManager
- Is required.
- Is a Plexus component defined by:
SonarMojo
public SonarMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2009-2011 Codehaus. All Rights Reserved.