@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, 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 |
---|
InstallMojo() |
Modifier and Type | Method and Description |
---|---|
void |
executeWithGems() |
addResource, execute, executeJRuby, gemHome, getRemoteRepos, newScriptFactory
getDefaultJRubyVersion, 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 AbstractGemMojo
org.apache.maven.plugin.MojoExecutionException
ScriptException
IOException
org.apache.maven.plugin.MojoFailureException
Copyright © 2017. All rights reserved.