|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
info.rvin.mojo.flexmojo.AbstractIrvinMojo
public abstract class AbstractIrvinMojo
Encapsulate the access to Maven API. Some times just to hide Java 5 warnings
| Field Summary | |
|---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
|
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource |
artifactMetadataSource
|
protected org.apache.maven.model.Build |
build
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
Local repository to be used by the plugin to resolve dependencies. |
protected org.apache.maven.project.MavenProjectBuilder |
mavenProjectBuilder
|
protected java.util.List<org.apache.maven.artifact.Artifact> |
pluginArtifacts
|
protected org.apache.maven.project.MavenProject |
project
The maven project. |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper
|
protected java.util.List |
remoteRepositories
List of remote repositories to be used by the plugin to resolve dependencies. |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
resolver
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractIrvinMojo()
Construct Mojo instance |
|
| Method Summary | |
|---|---|
void |
execute()
Executes plugin |
protected java.util.Set<org.apache.maven.artifact.Artifact> |
getDependencyArtifacts()
Returns Set of dependency artifacts which are resolved for the project. |
protected java.util.List<org.apache.maven.artifact.Artifact> |
getDependencyArtifacts(java.lang.String... scopes)
Get dependency artifacts for given scope |
protected abstract void |
run()
Perform plugin functionality |
protected abstract void |
setUp()
Perform setup before plugin is run. |
protected abstract void |
tearDown()
Perform (cleanup) actions after plugin has run |
| 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 org.apache.maven.model.Build build
protected org.apache.maven.project.MavenProjectHelper projectHelper
protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource artifactMetadataSource
protected org.apache.maven.project.MavenProjectBuilder mavenProjectBuilder
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected java.util.List remoteRepositories
protected java.util.List<org.apache.maven.artifact.Artifact> pluginArtifacts
| Constructor Detail |
|---|
public AbstractIrvinMojo()
| Method Detail |
|---|
protected java.util.Set<org.apache.maven.artifact.Artifact> getDependencyArtifacts()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected java.util.List<org.apache.maven.artifact.Artifact> getDependencyArtifacts(java.lang.String... scopes)
throws org.apache.maven.plugin.MojoExecutionException
scope - for which to get artifacts
org.apache.maven.plugin.MojoExecutionException
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected abstract void setUp()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected abstract void run()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected abstract void tearDown()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||