org.codehaus.mojo.exec
Class ExecMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.exec.ExecMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- public class ExecMojo
- extends org.apache.maven.plugin.AbstractMojo
A Plugin for executing external programs.
- Version:
- $Id: ExecMojo.java 2479 2006-10-05 08:08:02Z trygvis $
- Author:
- Jerome Lacoste
Field Summary |
java.util.List |
arguments
Can be of type <argument> or <classpath>
Can be overriden using "exec.args" env. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
priority in the execute method will be to use System properties arguments over the pom specification. |
protected int |
executeCommandLine(org.codehaus.plexus.util.cli.Commandline commandLine,
org.codehaus.plexus.util.cli.StreamConsumer stream1,
org.codehaus.plexus.util.cli.StreamConsumer stream2)
|
protected java.lang.String |
getSystemProperty(java.lang.String key)
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arguments
public java.util.List arguments
- Can be of type
<argument>
or <classpath>
Can be overriden using "exec.args" env. variable
ExecMojo
public ExecMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- priority in the execute method will be to use System properties arguments over the pom specification.
- Throws:
org.apache.maven.plugin.MojoExecutionException
executeCommandLine
protected int executeCommandLine(org.codehaus.plexus.util.cli.Commandline commandLine,
org.codehaus.plexus.util.cli.StreamConsumer stream1,
org.codehaus.plexus.util.cli.StreamConsumer stream2)
throws org.codehaus.plexus.util.cli.CommandLineException
- Throws:
org.codehaus.plexus.util.cli.CommandLineException
getSystemProperty
protected java.lang.String getSystemProperty(java.lang.String key)
Copyright © 2005-2007 null. All Rights Reserved.