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 depends on a correct root directory configuration.
 The plug-in will change the scripts to check for the ${
 ARTIFACTID_TOP} (upper case) environment variable. This
 variable must be set by the user to guarantee a proper system behaviour.
 Example: If artifact id is release the environment variable
 ${RELEASE_TOP} must be set.
 
 
 Note: The resulting target system is highly system dependent since it
 contains the erlang emulator (C code) from the backend nodes erlang
 installation.
 
 
 Note: This mojo is currently working but still in experimental stage.
 
 
 - 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 © 2011 Lindenbaum GmbH. All Rights Reserved.