@Mojo(name="install",
defaultPhase=INITIALIZE,
requiresDependencyResolution=TEST)
public class InstallMojo
extends AbstractGemMojo
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
classpathElements
The classpath elements of the project being tested.
|
protected boolean |
local
Determine if --local should used.
|
protected boolean |
quiet
Determine if --quiet should used.
|
binDirectory, gemHome, gemHomes, gemPath, gemsConfig, gemsInstaller, gemUseSystem, includeGemsInResources, includeLibDirectoryInResources, includeOpenSSL, includeProvidedRubygemsInResources, includeRubygemsInResources, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzipaddProjectClasspath, 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 |
|---|
InstallMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeWithGems() |
addResource, execute, executeJRuby, gemHome, getRemoteRepos, newScriptFactorygetDefaultJRubyVersion, getJrubyVersion, getProjectClasspath, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact@Parameter(defaultValue="${project.testClasspathElements",
required=true,
readonly=true)
protected List<String> classpathElements
@Parameter(property="bundler.local",
defaultValue="true")
protected boolean local
@Parameter(property="bundler.quiet",
defaultValue="true")
protected boolean quiet
public void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
ScriptException,
IOException,
GemException
executeWithGems in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionExceptionScriptExceptionIOExceptionGemExceptionCopyright © 2021. All rights reserved.