public class ExecMojo extends AbstractGemMojo
${jruby.args} ${exec.file} ${exec.args} ${args}
Modifier and Type | Field and Description |
---|---|
protected String[] |
execArgLines
an array of arguments which can contain spaces for the ruby script given through file parameter.
|
protected String |
execArgs
arguments separated by whitespaces for the ruby script given through file parameter.
|
protected File |
file
ruby file which gets executed in context of the given gems..
|
protected String |
filename
ruby file found on search path which gets executed.
|
protected File |
outputFile
output file where the standard out will be written
Command line -Dexec.outputFile=... |
protected String |
script
ruby code from the pom configuration part which gets executed.
|
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 |
---|
ExecMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
executeWithGems() |
addResource, execute, executeJRuby, gemHome, getRemoteRepos, newScriptFactory
getJrubyVersion, getProjectClasspath, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact
protected String script
protected File file
protected String filename
protected File outputFile
protected String execArgs
protected String[] execArgLines
protected void executeWithGems() throws org.apache.maven.plugin.MojoExecutionException, ScriptException, IOException
executeWithGems
in class AbstractGemMojo
org.apache.maven.plugin.MojoExecutionException
ScriptException
IOException
Copyright © 2015. All rights reserved.