Class AbstractNativeMojo

    • Field Detail

      • LINKER_INPUT_LIST_NAME

        public static final java.lang.String LINKER_INPUT_LIST_NAME
        See Also:
        Constant Field Values
      • LINKER_OUTPUT_PATH

        public static final java.lang.String LINKER_OUTPUT_PATH
        See Also:
        Constant Field Values
      • EMPTY_FILE_LIST

        protected static final java.util.List EMPTY_FILE_LIST
      • project

        protected org.apache.maven.project.MavenProject project
        POM
        Since:
        1.0-alpha-2
      • workingDirectory

        protected java.io.File workingDirectory
        user directory when external tools( ie compiler/linker ) are invoked
        Since:
        1.0-alpha-2
      • envFactoryName

        private java.lang.String envFactoryName
        Specifies a fully qualified class name implementing the org.codehaus.mojo.natives.EnvFactory interface. The class creates a set environment variables to be used with the command line.
        Since:
        1.0-alpha-2
      • envFactoryManager

        protected EnvFactoryManager envFactoryManager
        Internal
        Since:
        1.0-alpha-2
      • dependencyIncludeDirectory

        protected java.io.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 java.lang.String[] removeEmptyOptions​(java.util.List args)
      • getAllCompilersOutputFileList

        protected java.util.List getAllCompilersOutputFileList()
      • saveCompilerOutputFilePaths

        protected void saveCompilerOutputFilePaths​(java.util.List 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