|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.mrm.plugin.AbstractMRMMojo
public abstract class AbstractMRMMojo
Base class for all the Mock Repository Manager's Mojos.
| Field Summary | |
|---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
The artifact factory. |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
artifactResolver
The artifact resolver. |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
The local repository. |
protected org.apache.maven.plugin.MojoExecution |
mojoExecution
This mojo's execution. |
protected org.apache.maven.plugin.descriptor.PluginDescriptor |
pluginDescriptor
This plugins descriptor. |
protected org.apache.maven.project.MavenProject |
project
The maven project. |
protected List |
remoteArtifactRepositories
The remote repositories. |
protected List |
remotePluginRepositories
The remote pluginRepositories. |
protected org.apache.maven.execution.MavenSession |
session
The Maven Session Object |
protected boolean |
skip
If true, execution of the plugin is skipped. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractMRMMojo()
|
|
| Method Summary | |
|---|---|
protected FactoryHelper |
createFactoryHelper()
Creates a new FactoryHelper instance for injection into anything that needs one. |
protected ProxyArtifactStore |
createProxyArtifactStore()
Creates an ArtifactStore that fetches from the repositories available
to Maven itself. |
protected abstract void |
doExecute()
Performs this plugin's action. |
void |
execute()
Executes the plugin goal (if the plugin is not skipped) |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.maven.project.MavenProject project
protected List remoteArtifactRepositories
protected List remotePluginRepositories
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
protected org.apache.maven.execution.MavenSession session
protected org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor
protected org.apache.maven.plugin.MojoExecution mojoExecution
protected boolean skip
| Constructor Detail |
|---|
public AbstractMRMMojo()
| Method Detail |
|---|
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - If there is an exception occuring during the execution of the plugin.
org.apache.maven.plugin.MojoFailureException - If there is an exception occuring during the execution of the plugin.
protected abstract void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - If there is an exception occuring during the execution of the plugin.
org.apache.maven.plugin.MojoFailureException - If there is an exception occuring during the execution of the plugin.protected ProxyArtifactStore createProxyArtifactStore()
ArtifactStore that fetches from the repositories available
to Maven itself.
ArtifactStore that fetches from the repositories available
to Maven itself.protected FactoryHelper createFactoryHelper()
FactoryHelper instance for injection into anything that needs one.
FactoryHelper instance for injection into anything that needs one.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||