eu.lindenbaum.maven.mojo
Class ProjectRunner
java.lang.Object
org.apache.maven.plugin.AbstractMojo
eu.lindenbaum.maven.ErlangMojo
eu.lindenbaum.maven.mojo.ProjectRunner
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public final class ProjectRunner
- extends ErlangMojo
A Mojo
that runs erlang applications packaged with packaging type
PackagingType.ERLANG_OTP
or PackagingType.ERLANG_STD
on a
specific (remote) node. This will start the application with all dependent
applications and all modules pre-loaded. When finished the Mojo
will
stop and unload the started applications.
TODO: release projects cannot be run
- Author:
- Tobias Schlager
- Goal:
- run
- Execute:
- phase="package" lifecycle="run"
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 |
ProjectRunner
public ProjectRunner()
execute
protected void execute(org.apache.maven.plugin.logging.Log log,
Properties p)
throws org.apache.maven.plugin.MojoExecutionException
- 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
- See Also:
Mojo.execute()
Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.