eu.lindenbaum.maven
Class ErlangMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
eu.lindenbaum.maven.ErlangMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- AppupGenerator, BackendInitializer, Compiler, Coverage, DependencyExtractor, DependencyLoader, Dialyzer, Packager, Packager, Profiler, ProjectRunner, ProjectUploader, RelupGenerator, ResourceGenerator, ResourceGenerator, Setup, ShowBuildInfo, TargetSystemPackager, TestCompiler, TestDependencyLoader, TestInitializer, TestResourceGenerator, TestRunner, TestRunner, TestUploader, Validator
public abstract class ErlangMojo
- extends org.apache.maven.plugin.AbstractMojo
A base class for all Mojo
s that need to operate on values provided by
the PropertiesImpl
bean.
- Author:
- Tobias Schlager
- See Also:
PackagingType
,
Properties
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
ErlangMojo
public ErlangMojo()
execute
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Injects the needed
Properties
into the abstract
execute(Log, Properties)
method to be implemented by subclasses.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
execute
protected abstract void execute(org.apache.maven.plugin.logging.Log log,
Properties p)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Will be invoked when
execute()
gets invoked on the base class.
- Parameters:
log
- logger to be used for output loggingp
- to be passed by the base class.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
- See Also:
Mojo.execute()
Copyright © 2012 Lindenbaum GmbH. All Rights Reserved.