eu.lindenbaum.maven.mojo
Class ProjectUploader

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

public final class ProjectUploader
extends ErlangMojo

This Mojo uploads a project onto a remote node. In case of application projects this includes remote loading of the compiled application modules loading of the application resource file using application:load/1. The modules will be purged once as if c:c/1 would have been called on a shell. In case of a release project the release package (.tar.gz) will be uploaded in the remote nodes releases directory ready to be unpacked and installed using the release_handler.

Note: Uploading of releases will require that the remote erlang process has write access to its releases directory.

Since:
2.0.0
Author:
Tobias Schlager
Goal:
upload
Execute:
phase="package" lifecycle="upload"

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ProjectUploader()
           
 
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

ProjectUploader

public ProjectUploader()
Method Detail

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 logging
p - to be passed by the base class.
Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
Mojo.execute()


Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.