de.saumya.mojo.rails
Class GenerateMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.gem.AbstractGemMojo
de.saumya.mojo.rails.AbstractRailsMojo
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.
| Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
classRealm, factory, GEM_RUBY_COMMAND, IRB_RUBY_COMMAND, IRB_SWING_RUBY_COMMAND, jrubyArgs, jrubyFork, jrubyJvmArgs, jrubyVerbose, jrubyVersion, localRepository, logger, project, RAKE_RUBY_COMMAND, repositorySystem |
| 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 |
generateArgs
protected String generateArgs
- arguments for the generate command
generator
protected String generator
- the name of the generator
GenerateMojo
public GenerateMojo()
executeWithGems
protected void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
ScriptException,
IOException
- Specified by:
executeWithGems in class AbstractGemMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
ScriptException
IOException
Copyright © 2011. All Rights Reserved.