eu.lindenbaum.maven.mojo.app
Class Profiler
java.lang.Object
org.apache.maven.plugin.AbstractMojo
eu.lindenbaum.maven.ErlangMojo
eu.lindenbaum.maven.mojo.app.Profiler
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public final class Profiler
- extends ErlangMojo
Performs function profiling using eprof, by executing any
EUnit test modules, with the suffix [module]_prof.erl
, found among
the test sources. The profiling result are filtered and written out to the
file (PROFILING-${project.artifactId}.txt), which may be used to
generate a profiling-report
.
- Since:
- 2.1.0
- Author:
- Olle Törnström
- See Also:
ProfilingReport
- Goal:
- profile
- Phase:
- pre-site lifecycle="site"
- Execute:
- phase="test-compile"
- Requires dependency resolution: true
- test
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 |
Profiler
public Profiler()
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 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.