@Mojo(name="spec", defaultPhase=TEST, requiresDependencyResolution=TEST) public class MinispecMojo extends AbstractTestMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
skipMinispecs
skip the minispecs
|
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 |
---|
MinispecMojo() |
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="skipMinispecs", defaultValue="false") protected boolean skipMinispecs
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 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
protected TestScriptFactory newTestScriptFactory()
newTestScriptFactory
in class AbstractTestMojo
Copyright © 2017. All rights reserved.