eu.lindenbaum.maven
Class ErlangMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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 Mojos that need to operate on values provided by the PropertiesImpl bean.

Author:
Tobias Schlager
See Also:
PackagingType, Properties

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ErlangMojo()
           
 
Method Summary
 void execute()
          Injects the needed Properties into the abstract execute(Log, Properties) method to be implemented by subclasses.
protected abstract  void execute(org.apache.maven.plugin.logging.Log log, Properties p)
          Will be invoked when execute() gets invoked on the base class.
 
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
 

Constructor Detail

ErlangMojo

public ErlangMojo()
Method Detail

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 logging
p - 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.