@Mojo(name="install",
defaultPhase=INSTALL)
public class InstallMojo
extends AbstractGemMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
gem
gem file to install locally.
Note: this will install the gem in ${gem.home} so in general that is only useful if some other goal does something with it |
protected String |
installArgs
arguments for the "gem install" command.
|
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(property="install.args") protected String installArgs
@Parameter(property="gem") protected File gem
public void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
ScriptException,
IOException,
org.apache.maven.plugin.MojoFailureException
executeWithGems in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionExceptionScriptExceptionIOExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2015. All Rights Reserved.