de.saumya.mojo.gem
Class PomMojo

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

public class PomMojo
extends AbstractJRubyMojo

goal to converts a gemspec file into pom.xml.


Field Summary
protected  boolean force
          force overwrite of an existing pom
Command line -Dpom.force=...
protected  File gemfile
          use Gemfile to generate a pom
Command line -Dpom.gemfile=...
protected  File gemspec
          use a gemspec file to generate a pom
Command line -Dpom.gemspec=...
protected  File pom
          the pom file to generate
Command line -Dpom=...
 
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, jrubyVersion, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PomMojo()
           
 
Method Summary
 void executeJRuby()
           
 
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
execute, launchDirectory, newScriptFactory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, retrieveStdlibArtifact
 
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

pom

protected File pom
the pom file to generate
Command line -Dpom=...


force

protected boolean force
force overwrite of an existing pom
Command line -Dpom.force=...


gemspec

protected File gemspec
use a gemspec file to generate a pom
Command line -Dpom.gemspec=...


gemfile

protected File gemfile
use Gemfile to generate a pom
Command line -Dpom.gemfile=...

Constructor Detail

PomMojo

public PomMojo()
Method Detail

executeJRuby

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


Copyright © 2011. All Rights Reserved.