eu.lindenbaum.maven.mojo.rel
Class TargetSystemPackager
java.lang.Object
  
org.apache.maven.plugin.AbstractMojo
      
eu.lindenbaum.maven.ErlangMojo
          
eu.lindenbaum.maven.mojo.rel.TargetSystemPackager
- All Implemented Interfaces: 
 - org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
 
public final class TargetSystemPackager
- extends ErlangMojo
 
 This Mojo creates a target system release package .tar.gz
 according to the official documentation. If there's no
 sys.config file found a default empty one will be included.
 
 
 The resulting target system can be started either directly or as a daemon
 using the bin/start script. This script has to be provided with
 the correct root directory of the target system. Custom arguments like node
 name or cookie can be set by giving them as additional command line arguments
 to bin/start.
 
 
 Note: The resulting target system is highly system dependent since it
 contains the erlang emulator (C code) from the backend nodes erlang
 installation.
 
 
 - FIXME not supported on Microsoft Windows
 
 
- Author:
 
  - Tobias Schlager 
 
- See Also:
 - http://www.erlang.org/doc/system_principles/create_target.html
 - Goal:
 
  - target-system
 
- Execute:
 
  - phase="package" lifecycle="targetSystem"
 
 
| 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 | 
 
TargetSystemPackager
public TargetSystemPackager()
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 © 2012 Lindenbaum GmbH. All Rights Reserved.