org.codehaus.mojo.natives.plugin
Class AbstractNativeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
- Direct Known Subclasses:
- NativeCompileMojo, NativeLinkMojo, NativeMessageCompileMojo, NativeRanlibMojo, NativeResourceCompileMojo
- public abstract class AbstractNativeMojo
- extends AbstractMojo
- Version:
- $Id: AbstractNativeMojo.java 6588 2008-03-28 12:22:57Z bentmann $
- Author:
- Dan T. Tran
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
LINKER_INPUT_LIST_NAME
public static final String LINKER_INPUT_LIST_NAME
- See Also:
- Constant Field Values
EMPTY_FILE_LIST
protected static final List EMPTY_FILE_LIST
project
protected MavenProject project
- POM
- Is defined by:
- expression:
- ${project}
- Is readonly.
- Is required.
workingDirectory
protected File workingDirectory
- user directory when external tools( ie compiler/linker ) are invoked
- Is defined by:
- expression:
- ${workingDirectory}
- default-value:
- ${basedir}
outputDirectory
protected File outputDirectory
- Where to place the final packaging and compiler object files
- Is defined by:
- expression:
- ${project.build.directory}
- Is readonly.
- Is required.
envFactoryName
protected String envFactoryName
- Specifies a fully qualified class name implementing the
org.codehaus.mojo.natives.EnvFactory interface. The class creates
a set environment variables to be used with the command line.
- Is defined by:
AbstractNativeMojo
public AbstractNativeMojo()
removeEmptyOptions
protected static String[] removeEmptyOptions(List args)
getAllCompilersOutputFileList
protected List getAllCompilersOutputFileList()
saveCompilerOutputFilePaths
protected void saveCompilerOutputFilePaths(List filePaths)
throws MojoExecutionException
- Throws:
MojoExecutionException
getProject
protected MavenProject getProject()
- Internal for unit test only
Copyright © 2005-2009 Codehaus. All Rights Reserved.