org.codehaus.mojo.natives.plugin
Class AbstractNativeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- NativeCompileMojo, NativeLinkMojo, NativeMessageCompileMojo, NativeRanlibMojo, NativeResourceCompileMojo
public abstract class AbstractNativeMojo
- extends org.apache.maven.plugin.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 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 |
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 org.apache.maven.project.MavenProject project
- POM
workingDirectory
protected File workingDirectory
- user directory when external tools( ie compiler/linker ) are invoked
outputDirectory
protected File outputDirectory
- Where to place the final packaging and compiler object files
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.
AbstractNativeMojo
public AbstractNativeMojo()
removeEmptyOptions
protected static String[] removeEmptyOptions(List args)
getAllCompilersOutputFileList
protected List getAllCompilersOutputFileList()
saveCompilerOutputFilePaths
protected void saveCompilerOutputFilePaths(List filePaths)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getProject
protected org.apache.maven.project.MavenProject getProject()
- Internal for unit test only
Copyright © 2005-2011 Codehaus. All Rights Reserved.