de.saumya.mojo.gem
Class PackageMojo

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.gem.PackageMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PackageMojo
extends AbstractGemMojo

goal to convert that artifact into a gem or uses a given gemspec to build a gem.


Field Summary
protected  org.sonatype.aether.RepositorySystemSession repositorySession
           
 
Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo
binDirectory, gemHome, gemPath, gemsConfig, gemsInstaller, 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, jrubyVersion, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PackageMojo()
           
 
Method Summary
 void executeJRuby()
           
protected  void executeWithGems()
           
 
Methods inherited from class de.saumya.mojo.gem.AbstractGemMojo
newScriptFactory
 
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
execute, launchDirectory, 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

repositorySession

protected org.sonatype.aether.RepositorySystemSession repositorySession
Constructor Detail

PackageMojo

public PackageMojo()
Method Detail

executeJRuby

public void executeJRuby()
                  throws org.apache.maven.plugin.MojoExecutionException,
                         org.apache.maven.plugin.MojoFailureException,
                         ScriptException
Overrides:
executeJRuby in class AbstractGemMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
ScriptException

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.