org.codehaus.mojo.natives.plugin
Class NativeCompileMojo

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

public class NativeCompileMojo
extends AbstractNativeMojo

Compile source files into native object files

Version:
$Id: NativeCompileMojo.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Dan T. Tran

Field Summary
protected  org.codehaus.mojo.natives.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  org.codehaus.mojo.natives.compiler.CompilerConfiguration createProviderConfiguration()
           
 void execute()
           
protected  org.codehaus.mojo.natives.compiler.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 org.codehaus.mojo.natives.NativeSources[] sources
Array of NativeSources containing include directories and source files.

Constructor Detail

NativeCompileMojo

public NativeCompileMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

createProviderConfiguration

protected org.codehaus.mojo.natives.compiler.CompilerConfiguration createProviderConfiguration()
                                                                                        throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getCompilerConfiguration

protected org.codehaus.mojo.natives.compiler.CompilerConfiguration getCompilerConfiguration()
Internal only for test harness purpose

Returns:


Copyright © 2005-2009. All Rights Reserved.