org.codehaus.mojo.natives.plugin
Class NativeCompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
org.codehaus.mojo.natives.plugin.NativeCompileMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class NativeCompileMojo
- extends AbstractNativeMojo
Compile source files into native object files
- Is defined by the goal name:
- compile
- Is bound to the specified phase of the standard build lifecycle:
- compile
| 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 |
sources
protected NativeSources[] sources
- Array of NativeSources containing include directories and source files.
- Since:
- 1.0-alpha-2
- Is defined by:
compilerOutputDirectory
protected File compilerOutputDirectory
- Compiler output files ( .o, .obj, etc) location
- Since:
- 1.0-alpha-4
- Is defined by:
- default-value:
- ${project.build.directory}/objs
- Is required.
numberOfConcurrentCompilation
protected int numberOfConcurrentCompilation
- Number of parallel compilation threads
- Since:
- 1.0-alpha-4
- Is defined by:
- default-value:
- 1
NativeCompileMojo
public NativeCompileMojo()
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-2010 Codehaus. All Rights Reserved.