Class AbstractNativeMojo

    • Field Detail

      • EMPTY_FILE_LIST

        protected static final List<File> EMPTY_FILE_LIST
      • project

        @Parameter(defaultValue="${project}",
                   readonly=true,
                   required=true)
        protected org.apache.maven.project.MavenProject project
      • workingDirectory

        @Parameter(defaultValue="${basedir}",
                   required=true)
        protected File workingDirectory
        user directory when external tools( ie compiler/linker ) are invoked
      • dependencyIncludeDirectory

        @Parameter(defaultValue="${project.build.directory}/native/include")
        protected File dependencyIncludeDirectory
        Directory to unpack .inczip dependency files to be included as system include path
    • Constructor Detail

      • AbstractNativeMojo

        public AbstractNativeMojo()
    • Method Detail

      • removeEmptyOptions

        protected static String[] removeEmptyOptions​(List<String> args)
      • getAllCompilersOutputFileList

        protected List<File> getAllCompilersOutputFileList()
      • saveCompilerOutputFilePaths

        protected void saveCompilerOutputFilePaths​(List<File> 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
      • getEnvFactory

        protected EnvFactory getEnvFactory()
                                    throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException