Class 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
    • Field Detail

      • sources

        protected NativeSources[] sources
        Array of NativeSources containing include directories and source files.
        Since:
        1.0-alpha-2
      • compilerOutputDirectory

        protected File compilerOutputDirectory
        Compiler output files ( .o, .obj, etc) location
        Since:
        1.0-alpha-4
      • numberOfConcurrentCompilation

        protected int numberOfConcurrentCompilation
        Number of parallel compilation threads
        Since:
        1.0-alpha-4
    • 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 CompilerConfiguration createProviderConfiguration()
                                                             throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getCompilerConfiguration

        protected CompilerConfiguration getCompilerConfiguration()
        Internal only for test harness purpose
        Returns: