org.codehaus.mojo.natives.plugin
Class NativeCompileMojo

java.lang.Object
  extended byorg.apache.maven.plugin.AbstractMojo
      extended byorg.codehaus.mojo.natives.plugin.AbstractNativeMojo
          extended byorg.codehaus.mojo.natives.plugin.NativeCompileMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class NativeCompileMojo
extends AbstractNativeMojo

Compile source files into native object files

Version:
$Id: NativeCompileMojo.java 10454 2009-08-29 01:19:18Z dantran $
Author:
Dan T. Tran
Is defined by the goal name:
compile
Is bound to the specified phase of the standard build lifecycle:
compile

Field Summary
protected  NativeSources[] sources
          Array of NativeSources containing include directories and source files.
 
Fields inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
EMPTY_FILE_LIST, envFactoryName, LINKER_INPUT_LIST_NAME, outputDirectory, project, workingDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
NativeCompileMojo()
           
 
Method Summary
protected  CompilerConfiguration createProviderConfiguration()
           
 void execute()
           
protected  CompilerConfiguration getCompilerConfiguration()
          Internal only for test harness purpose
 
Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
 
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
 

Field Detail

sources

protected NativeSources[] sources
Array of NativeSources containing include directories and source files.

Is defined by:
Constructor Detail

NativeCompileMojo

public NativeCompileMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Throws:
MojoExecutionException

createProviderConfiguration

protected CompilerConfiguration createProviderConfiguration()
                                                     throws MojoExecutionException
Throws:
MojoExecutionException

getCompilerConfiguration

protected CompilerConfiguration getCompilerConfiguration()
Internal only for test harness purpose

Returns:


Copyright © 2005-2009 Codehaus. All Rights Reserved.