eu.lindenbaum.maven.mojo.app
Class TestCompiler

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by eu.lindenbaum.maven.ErlangMojo
          extended by eu.lindenbaum.maven.mojo.app.TestCompiler
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public final class TestCompiler
extends ErlangMojo

Compile erlang test sources and recompile erlang sources with the options debug_info, export_all and {d, 'TEST'}. This will also compile the supporting erlang sources provided along with the plugin.

Author:
Olivier Sambourg, Tobias Schlager , Olle Törnström
Goal:
test-compile
Phase:
test-compile
Requires dependency resolution: true
test

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestCompiler()
           
 
Method Summary
protected  void execute(org.apache.maven.plugin.logging.Log log, Properties p)
          Will be invoked when ErlangMojo.execute() gets invoked on the base class.
 
Methods inherited from class eu.lindenbaum.maven.ErlangMojo
execute
 
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

TestCompiler

public TestCompiler()
Method Detail

execute

protected void execute(org.apache.maven.plugin.logging.Log log,
                       Properties p)
                throws org.apache.maven.plugin.MojoExecutionException,
                       org.apache.maven.plugin.MojoFailureException
Description copied from class: ErlangMojo
Will be invoked when ErlangMojo.execute() gets invoked on the base class.

Specified by:
execute in class ErlangMojo
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.