org.codehaus.mojo.natives.plugin
Class AbstractNativeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
protected static java.util.List EMPTY_FILE_LIST
           
protected  java.lang.String envFactoryName
          Specifies a fully qualified class name implementing the org.codehaus.mojo.natives.EnvFactory interface.
static java.lang.String LINKER_INPUT_LIST_NAME
           
protected  java.io.File outputDirectory
          Where to place the final packaging and compiler object files
protected  org.apache.maven.project.MavenProject project
          POM
protected  java.io.File workingDirectory
          user directory when external tools( ie compiler/linker ) are invoked
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractNativeMojo()
           
 
Method Summary
protected  java.util.List getAllCompilersOutputFileList()
           
protected  org.apache.maven.project.MavenProject getProject()
          Internal for unit test only
protected static java.lang.String[] removeEmptyOptions(java.util.List args)
           
protected  void saveCompilerOutputFilePaths(java.util.List filePaths)
           
 
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
 

Field Detail

LINKER_INPUT_LIST_NAME

public static final java.lang.String LINKER_INPUT_LIST_NAME
See Also:
Constant Field Values

EMPTY_FILE_LIST

protected static final java.util.List EMPTY_FILE_LIST

project

protected org.apache.maven.project.MavenProject project
POM


workingDirectory

protected java.io.File workingDirectory
user directory when external tools( ie compiler/linker ) are invoked


outputDirectory

protected java.io.File outputDirectory
Where to place the final packaging and compiler object files


envFactoryName

protected java.lang.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.

Constructor Detail

AbstractNativeMojo

public AbstractNativeMojo()
Method Detail

removeEmptyOptions

protected static java.lang.String[] removeEmptyOptions(java.util.List args)

getAllCompilersOutputFileList

protected java.util.List getAllCompilersOutputFileList()

saveCompilerOutputFilePaths

protected void saveCompilerOutputFilePaths(java.util.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-2009. All Rights Reserved.