@Mojo(name="test", defaultPhase=TEST, requiresDependencyResolution=TEST) public class CucumberMojo extends AbstractTestMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
skipCucumber |
modes, skip, skipTests, summaryReport, testReportDirectory, versions
binDirectory, gemHome, gemHomes, gemPath, gemsConfig, gemsInstaller, gemUseSystem, includeGemsInResources, includeLibDirectoryInResources, includeOpenSSL, includeProvidedRubygemsInResources, includeRubygemsInResources, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzip
addProjectClasspath, args, classRealm, DEFAULT_JRUBY_VERSION, eclipseRefresh, eclipseWatches, env, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory
Constructor and Description |
---|
CucumberMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected TestScriptFactory |
newTestScriptFactory() |
protected JRubyRun.Result |
runIt(ScriptFactory factory,
JRubyVersion.Mode mode,
JRubyVersion version,
TestScriptFactory scriptFactory) |
executeWithGems, runIt
addResource, executeJRuby, gemHome, getRemoteRepos, newScriptFactory
getDefaultJRubyVersion, getJrubyVersion, getProjectClasspath, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact
@Parameter(property="skipCucumber", defaultValue="false") protected boolean skipCucumber
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractGemMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected TestScriptFactory newTestScriptFactory()
newTestScriptFactory
in class AbstractTestMojo
protected JRubyRun.Result runIt(ScriptFactory factory, JRubyVersion.Mode mode, JRubyVersion version, TestScriptFactory scriptFactory) throws IOException, ScriptException, org.apache.maven.plugin.MojoExecutionException
runIt
in class AbstractTestMojo
IOException
ScriptException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2017. All rights reserved.