de.saumya.mojo.rake
Class RailsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by de.saumya.mojo.jruby.AbstractJRubyMojo
          extended by de.saumya.mojo.gem.AbstractGemMojo
              extended by de.saumya.mojo.rake.RailsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class RailsMojo
extends AbstractGemMojo

goal to run rails rake with the given arguments.


Field Summary
protected  String env
          either development or test or production or whatever else is possible with your config
protected  String rakeArgs
          arguments for the generate command
protected  String task
          the path to the application to be generated
 
Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo
binDirectory, gemHome, gemPath, gemsConfig, gemsInstaller, gemUseSystem, includeOpenSSL, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzip
 
Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
args, classRealm, DEFAULT_JRUBY_VERSION, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RailsMojo()
           
 
Method Summary
 void executeWithGems()
           
 
Methods inherited from class de.saumya.mojo.gem.AbstractGemMojo
execute, executeJRuby, getRemoteRepos, newScriptFactory
 
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
getJrubyVersion, launchDirectory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact
 
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
 

Field Detail

rakeArgs

protected String rakeArgs
arguments for the generate command


task

protected String task
the path to the application to be generated


env

protected String env
either development or test or production or whatever else is possible with your config

Constructor Detail

RailsMojo

public RailsMojo()
Method Detail

executeWithGems

public void executeWithGems()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            ScriptException,
                            IOException,
                            GemException
Specified by:
executeWithGems in class AbstractGemMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
ScriptException
IOException
GemException


Copyright © 2013. All Rights Reserved.