de.saumya.mojo.rspec
Class RSpecMojo

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

public class RSpecMojo
extends AbstractGemMojo

executes the jruby command.


Nested Class Summary
 
Nested classes/interfaces inherited from class de.saumya.mojo.gem.AbstractGemMojo
AbstractGemMojo.UpdateCheckManager
 
Field Summary
protected  java.io.File basedir
          The project base directory
protected  java.util.List<java.lang.String> classpathElements
          The classpath elements of the project being tested.
protected  java.lang.String outputDirectory
          The directory where the RSpec report will be written to
protected  java.lang.String reportName
          The name of the RSpec report (optional, defaults to "rspec_report.html")
protected  boolean skipTests
          The flag to skip tests (optional, defaults to "false")
protected  java.lang.String specSourceDirectory
          The directory containing the RSpec source files
protected  java.util.Properties systemProperties
          List of system properties to set for the tests.
 
Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo
includeOpenSSL, pluginArtifacts
 
Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
artifactFactory, artifacts, builder, fork, gemHome, gemPath, home, launchDirectory, launchMemory, localRepository, metadata, outputFile, project, remoteRepositories, resolver, verbose, version
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RSpecMojo()
           
 
Method Summary
 void executeWithGems()
           
 
Methods inherited from class de.saumya.mojo.gem.AbstractGemMojo
execute, execute
 
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
ensureGem, ensureGems, execute, execute, execute, execute, execute, fileFromClassloader, launchDirectory, resolveTransitively
 
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

basedir

protected java.io.File basedir
The project base directory


classpathElements

protected java.util.List<java.lang.String> classpathElements
The classpath elements of the project being tested.


skipTests

protected boolean skipTests
The flag to skip tests (optional, defaults to "false")


specSourceDirectory

protected java.lang.String specSourceDirectory
The directory containing the RSpec source files


outputDirectory

protected java.lang.String outputDirectory
The directory where the RSpec report will be written to


reportName

protected java.lang.String reportName
The name of the RSpec report (optional, defaults to "rspec_report.html")


systemProperties

protected java.util.Properties systemProperties
List of system properties to set for the tests.

Constructor Detail

RSpecMojo

public RSpecMojo()
Method Detail

executeWithGems

public 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.