org.sonar.batch
Class AbstractMavenPluginExecutor
java.lang.Object
org.sonar.batch.AbstractMavenPluginExecutor
- All Implemented Interfaces:
- BatchComponent, MavenPluginExecutor
- Direct Known Subclasses:
- Maven2PluginExecutor, Maven3PluginExecutor
public abstract class AbstractMavenPluginExecutor
- extends Object
- implements MavenPluginExecutor
Abstract implementation of MavenPluginExecutor
to reduce duplications in concrete implementations for different Maven versions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMavenPluginExecutor
public AbstractMavenPluginExecutor()
execute
public final MavenPluginHandler execute(Project project,
ProjectDefinition projectDefinition,
MavenPluginHandler handler)
- Specified by:
execute
in interface MavenPluginExecutor
execute
public final void execute(Project project,
ProjectDefinition projectDefinition,
String goal)
- Specified by:
execute
in interface MavenPluginExecutor
concreteExecute
public abstract void concreteExecute(org.apache.maven.project.MavenProject pom,
String goal)
throws Exception
- Throws:
Exception
Copyright © 2009-2012 SonarSource. All Rights Reserved.