org.sonar.plugins.api.maven
Interface MavenCollector
- All Superinterfaces:
- Extension, MavenExtension
- All Known Implementing Classes:
- AbstractJavaMavenCollector
public interface MavenCollector
- extends MavenExtension
collect
void collect(MavenPom pom,
ProjectAnalysis analysis)
dependsOnMavenPlugin
java.lang.Class<? extends MavenPluginHandler> dependsOnMavenPlugin(MavenPom pom)
- the collector should depend on the execution of a Maven plugin. In such a case this
method returns an handler that defines the Maven plugin.
Return null if no maven plugin to execute.
shouldCollectOn
boolean shouldCollectOn(MavenPom pom)
shouldStopOnFailure
boolean shouldStopOnFailure()
- should sonar fails if this collector fails ?
Copyright © 2008-2009 SonarSource SA. All Rights Reserved.