@Mojo(name="pom",
requiresProject=false)
public class PomMojo
extends AbstractJRubyMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
force
force overwrite of an existing pom
|
protected File |
gemfile
use Gemfile to generate a pom
|
protected File |
gemspec
use a gemspec file to generate a pom
|
protected File |
pom
the pom file to generate
|
protected File |
tmpPom
temporary store generated pom.
|
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 |
|---|
PomMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeJRuby() |
execute, getDefaultJRubyVersion, getJrubyVersion, getProjectClasspath, launchDirectory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact@Parameter(property="pom",
defaultValue="pom.xml")
protected File pom
@Parameter(property="pom.force",
defaultValue="false")
protected boolean force
@Parameter(defaultValue="${project.build.directory}/pom.xml")
protected File tmpPom
@Parameter(property="pom.gemspec",
defaultValue="gemspec")
protected File gemspec
@Parameter(property="pom.gemfile",
defaultValue="Gemfile")
protected File gemfile
public void executeJRuby()
throws org.apache.maven.plugin.MojoExecutionException,
ScriptException,
IOException
executeJRuby in class AbstractJRubyMojoorg.apache.maven.plugin.MojoExecutionExceptionScriptExceptionIOExceptionCopyright © 2015. All Rights Reserved.