de.saumya.mojo.rails
Class GenerateMojo

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.rails.AbstractRailsMojo
                  extended by de.saumya.mojo.rails.GenerateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateMojo
extends AbstractRailsMojo

Goal to run rails generator script.


Field Summary
protected  String generateArgs
          arguments for the generate command
protected  String generator
          the name of the generator
 
Fields inherited from class de.saumya.mojo.rails.AbstractRailsMojo
args, dir, env
 
Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo
includeOpenSSL, log
 
Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
artifactFactory, artifacts, builder, classRealm, fork, gemHome, gemPath, home, launchDirectory, launchMemory, localRepository, metadata, outputDirectory, outputFile, project, remoteRepositories, resolver, verbose, version
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateMojo()
           
 
Method Summary
protected  void executeWithGems()
           
 
Methods inherited from class de.saumya.mojo.rails.AbstractRailsMojo
launchDirectory, railsScript
 
Methods inherited from class de.saumya.mojo.gem.AbstractGemMojo
execute, setupGems
 
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
binDirectory, binScript, execute, execute, execute, execute, execute, execute, executeScript, fileFromClassloader, resolveJRUBYCompleteArtifact, resolveTransitively, setupEnv, setupEnv
 
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

generateArgs

protected String generateArgs
arguments for the generate command


generator

protected String generator
the name of the generator

Constructor Detail

GenerateMojo

public GenerateMojo()
Method Detail

executeWithGems

protected void executeWithGems()
                        throws org.apache.maven.plugin.MojoExecutionException
Specified by:
executeWithGems in class AbstractGemMojo
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2010. All Rights Reserved.