All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.saumya.mojo.gem.GemMojo Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package de.saumya.mojo.gem;

import java.io.IOException;

import org.apache.maven.plugin.MojoExecutionException;

import de.saumya.mojo.ruby.script.ScriptException;

/**
 * goal to run gem with the given arguments.
 * 
 * @goal gem
 */
@Deprecated
public class GemMojo extends AbstractGemMojo {
    /**
     * arguments for the gem command of JRuby.
     * 
* Command line -Dgem.args=... * * @parameter default-value="${gem.args}" */ protected String gemArgs = null; @Override public void executeWithGems() throws MojoExecutionException, ScriptException, IOException { getLog().warn( "DEPRECATED: just do not use that anymore. use gem:exec instead" ); this.factory.newScriptFromJRubyJar("gem") .addArgs(this.gemArgs) .addArgs(this.args) .execute(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy